diff options
Diffstat (limited to 'node_modules/istanbul-reports/lib/html-spa/webpack.config.js')
-rw-r--r-- | node_modules/istanbul-reports/lib/html-spa/webpack.config.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/node_modules/istanbul-reports/lib/html-spa/webpack.config.js b/node_modules/istanbul-reports/lib/html-spa/webpack.config.js new file mode 100644 index 0000000..02a2d6c --- /dev/null +++ b/node_modules/istanbul-reports/lib/html-spa/webpack.config.js @@ -0,0 +1,22 @@ +'use strict'; + +const path = require('path'); + +module.exports = { + entry: path.resolve(__dirname, 'src/index.js'), + output: { + path: path.resolve(__dirname, 'assets'), + filename: 'bundle.js' + }, + module: { + rules: [ + { + test: /\.js$/, + exclude: /node_modules/, + use: { + loader: 'babel-loader' + } + } + ] + } +}; |