diff --git a/js/vue.config.js b/js/vue.config.js index 92de23e28..8edae71fa 100644 --- a/js/vue.config.js +++ b/js/vue.config.js @@ -1,4 +1,5 @@ const Dotenv = require('dotenv-webpack'); +const path = require('path'); module.exports = { lintOnSave: false, @@ -6,7 +7,7 @@ module.exports = { outputDir: '../priv/static', configureWebpack: { plugins: [ - new Dotenv(), + new Dotenv({ path: path.resolve(process.cwd(), '../.env') }), ], }, };