mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
22 lines
438 B
JavaScript
22 lines
438 B
JavaScript
const PathModule = require('path')
|
|
|
|
module.exports = {
|
|
mode: 'production',
|
|
target: 'node',
|
|
entry: './src/index.js',
|
|
output: {
|
|
filename: 'bundle.js',
|
|
path: PathModule.resolve(__dirname, 'js', 'webpack')
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.(jpg|png)$/,
|
|
use: {
|
|
loader: 'url-loader'
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|