frontend-playground/vue/webpack.config.js

23 lines
398 B
JavaScript
Raw Normal View History

2021-07-16 12:46:24 +01:00
const path = require('path');
module.exports = {
entry: './index.js',
devtool: 'inline-source-map',
mode: 'development',
module: {
rules: [
{
test: /\.jsx?$/,
use: 'babel-loader',
exclude: /node_modules/,
}
]
},
resolve: {
extensions: [".js"]
},
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
}
};