Files
lime/templates/html5/npm/webpack.common.js
2019-04-15 13:59:18 -07:00

20 lines
406 B
JavaScript
Executable File

const path = require ('path');
module.exports = {
entry: "./../haxe/::if DEBUG::debug.hxml::else::::if FINAL::final.hxml::else::release.hxml::end::::end::",
output: {
path: path.resolve (__dirname, "dist"),
filename: "::OUTPUT_FILE::",
library: "lime",
libraryTarget: 'window',
libraryExport: 'lime'
},
module: {
rules: [
{
test: /\.hxml$/,
loader: 'haxe-loader',
}
]
}
};