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

13 lines
251 B
JavaScript

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