You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
www/webpack.config.js

23 lines
517 B

const path = require('path')
module.exports = {
mode: 'production',
entry: './lib/app/resources/assets/app/index.js',
output: {
filename: 'app.js',
path: path.resolve(__dirname, 'lib', 'app', 'resources', 'assets'),
},
module: {
rules: [
{
test: /\.css$/,
use: ['style-loader', 'css-loader'],
},
{
test: /\.ttf$/,
type: 'asset/resource'
},
],
},
}