mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2024-11-15 20:33:07 +00:00
26 lines
453 B
JavaScript
26 lines
453 B
JavaScript
|
const path = require('path');
|
||
|
|
||
|
|
||
|
module.exports = {
|
||
|
mode: "production",
|
||
|
entry: {
|
||
|
App: "./app/assets/js/App.js",
|
||
|
Vendor: "./app/assets/js/Vendor.js"
|
||
|
},
|
||
|
output: {
|
||
|
path: path.resolve(__dirname, "dist/scripts"),
|
||
|
filename: "[name].js"
|
||
|
},
|
||
|
module: {
|
||
|
rules: [
|
||
|
{
|
||
|
test: /\.(js)$/,
|
||
|
exclude: /node_modules/,
|
||
|
use: ['babel-loader']
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
resolve: {
|
||
|
extensions: ['*', '.js']
|
||
|
}
|
||
|
}
|