blob: aeecbdb3a94c6c71470d03851dc4007ac19fa450 [file] [log] [blame]
Eran (ev672n), Voskb9708a72018-08-07 14:15:05 +03001'use strict';
2// var CompressionPlugin = require('compression-webpack-plugin');
3
4module.exports = {
5 devtool: 'source-map',
6 entry: {
7 js: ['./.tmp/concat/scripts/scripts.js', './.tmp_imploded/styles/main.css']
8 },
9 output: {
10 path: __dirname + '/dist/imploded',
11 filename: 'dcae-bundle.js'
12 },
13 // plugins: [
14 // new CompressionPlugin({
15 // asset: "[path].gz[query]",
16 // algorithm: "gzip",
17 // test: /\.js$|\.css$|\.html$/
18 // })
19 // ],
20 module: {
21 loaders: [
22 { test: /\.(js|jsx)$/, loaders: ['babel-loader'], exclude: /node_modules/ },
23
24 // required for font icons
25 { test: /\.(woff|woff2)(\?.*)?$/, loader: 'url-loader?limit=16384&mimetype=application/font-woff' },
26 { test: /\.(ttf|eot|otf)(\?.*)?$/, loader: 'file-loader' },
27 { test: /\.(png|jpg|svg)(\?.*)?$/, loader: 'url-loader?limit=16384' },
28 { test: /\.css$/, loader: "style-loader!css-loader" }
29 ]
30 }
31};