-
-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathwebpack.config.js
More file actions
25 lines (24 loc) · 1.02 KB
/
webpack.config.js
File metadata and controls
25 lines (24 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const path = require('path');
module.exports = {
resolve: {
alias: {
"vp_base": path.resolve(__dirname, "lib/visualpython"),
"text": path.resolve(__dirname, "lib/visualpython/lib/require/text"),
'css': path.resolve(__dirname, "lib/visualpython/lib/require/css.min"),
"jquery": path.resolve(__dirname, "lib/visualpython/lib/jquery/jquery-3.6.0.min"),
"jquery-ui": path.resolve(__dirname, "lib/visualpython/lib/jquery/jquery-ui.min"),
"jquery-ui-css": path.resolve(__dirname, "lib/visualpython/lib/jquery/jquery-ui.min_org.css"),
"codemirror":path.resolve(__dirname, "lib/visualpython/lib/codemirror"),
"mathjaxutils": path.resolve(__dirname, "lib/visualpython/lib/mathjax/mathjaxutils"),
"marked": "marked"
}
},
module: {
rules: [
{
test: /\.(woff|woff2|eot|ttf|otf)(\?v=\d+\.\d+\.\d+)?$/,
type: 'asset/resource'
}
]
}
};