diff options
Diffstat (limited to 'apps/weather_status/webpack.js')
-rw-r--r-- | apps/weather_status/webpack.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/weather_status/webpack.js b/apps/weather_status/webpack.js index 500f1d4616c..30c833bca7c 100644 --- a/apps/weather_status/webpack.js +++ b/apps/weather_status/webpack.js @@ -2,25 +2,25 @@ const path = require('path') module.exports = { entry: { - 'weather-status': path.join(__dirname, 'src', 'weather-status') + 'weather-status': path.join(__dirname, 'src', 'weather-status'), }, output: { path: path.resolve(__dirname, './js'), publicPath: '/js/', filename: '[name].js?v=[chunkhash]', - jsonpFunction: 'webpackJsonpWeatherStatus' + jsonpFunction: 'webpackJsonpWeatherStatus', }, optimization: { splitChunks: { automaticNameDelimiter: '-', - } + }, }, module: { - rules: [ - { - test: /\.(png|jpg|gif|svg|woff|woff2|eot|ttf)$/, - loader: 'url-loader', - }, - ], + rules: [ + { + test: /\.(png|jpg|gif|svg|woff|woff2|eot|ttf)$/, + loader: 'url-loader', + }, + ], }, } |