git.iko.soy/rowtype-yoga/psfp
on c810fc0 help sign in
rowtype-yoga/psfp/blog/gatsby-node.js
8 lines 210 B history raw
1const MonacoWebpackPlugin = require(`monaco-editor-webpack-plugin`);
2exports.onCreateWebpackConfig = ({ actions }) => {
3 actions.setWebpackConfig({
4 plugins: [
5 new MonacoWebpackPlugin()
6 ]
7 });
8};