debianize-mobilizon/js/vue.config.js

14 lines
289 B
JavaScript
Raw Normal View History

const Dotenv = require('dotenv-webpack');
const path = require('path');
module.exports = {
lintOnSave: false,
runtimeCompiler: true,
outputDir: '../priv/static',
configureWebpack: {
plugins: [
new Dotenv({ path: path.resolve(process.cwd(), '../.env') }),
],
},
};