horarios-v2/vue.config.js

32 lines
729 B
JavaScript
Raw Normal View History

const webpack = require("webpack");
2020-01-23 00:18:07 +00:00
module.exports = {
configureWebpack: {
module: {
rules: [
{
test: /\.coffee$/,
loader: 'coffee-loader',
}
]
},
plugins: [
new webpack.DefinePlugin({
__VUE_OPTIONS_API__: false,
__VUE_PROD_DEVTOOLS__: true
})
],
2020-01-23 00:18:07 +00:00
devServer: {
compress: true,
disableHostCheck: true
}
},
productionSourceMap: false,
pwa: {
workboxPluginMode: "InjectManifest",
workboxOptions: {
swSrc: __dirname + "/public/service-worker.js"
}
}
2020-01-23 00:18:07 +00:00
};