mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
15 lines
325 B
JavaScript
15 lines
325 B
JavaScript
const path = require('path');
|
|
const { ContextReplacementPlugin } = require('webpack')
|
|
|
|
module.exports = {
|
|
entry: './src/index.js',
|
|
mode: 'development',
|
|
target: 'node',
|
|
plugins: [
|
|
new ContextReplacementPlugin(/liquidjs/)
|
|
],
|
|
output: {
|
|
filename: 'index.js',
|
|
path: path.resolve(__dirname, 'dist'),
|
|
},
|
|
}; |