phantasmal-world/web/webpack.config.d/webpack.config.js

13 lines
251 B
JavaScript
Raw Normal View History

const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin");
2020-11-15 05:18:10 +08:00
config.module.rules.push({
test: /\.(gif|jpg|png|svg|ttf)$/,
loader: "file-loader",
});
config.plugins.push(
new MonacoWebpackPlugin({
languages: [],
})
);