2020-01-23 00:18:07 +00:00
|
|
|
module.exports = {
|
|
|
|
configureWebpack: {
|
|
|
|
module: {
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
test: /\.coffee$/,
|
|
|
|
loader: 'coffee-loader',
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
devServer: {
|
|
|
|
compress: true,
|
|
|
|
disableHostCheck: true
|
|
|
|
}
|
|
|
|
},
|
2020-02-08 13:06:57 +00:00
|
|
|
productionSourceMap: false,
|
|
|
|
pwa: {
|
|
|
|
workboxPluginMode: "InjectManifest",
|
|
|
|
workboxOptions: {
|
|
|
|
swSrc: __dirname + "/public/service-worker.js"
|
|
|
|
}
|
|
|
|
}
|
2020-01-23 00:18:07 +00:00
|
|
|
};
|