github-pages-deploy-action/node_modules/istanbul-reports/lib/html-spa/webpack.config.js

23 lines
451 B
JavaScript
Raw Normal View History

2020-01-28 13:08:03 +08:00
'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'
}
}
]
}
};