blob: 1ac757bf283870abd288bc67517632a3488451d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
context: path.resolve(__dirname, 'app'),
entry: './index.moon',
mode: 'development',
module: {
rules: [
{
test: /\.moon$/,
use: [
'fengari-loader',
'moonscript-loader',
]
},
]
},
plugins: [
new HtmlWebpackPlugin({ title: 'MMM: lunar low-gravity scripting playground' }),
],
}
|