Skip to content

Commit

Permalink
Merge pull request #1 from dailypenn/crosswords
Browse files Browse the repository at this point in the history
Resolve conflict
  • Loading branch information
trangiabach authored Jan 22, 2023
2 parents 66a3bfb + c1b2698 commit ea6670d
Show file tree
Hide file tree
Showing 17 changed files with 17,985 additions and 41 deletions.
10 changes: 10 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ exports.createPages = async ({ actions }) => {
defer: true,
})
}

exports.onCreateWebpackConfig = ({ actions, loaders, getConfig }) => {
const config = getConfig()
const webpack = require('webpack')
config.plugins[0] = new webpack.IgnorePlugin({
resourceRegExp: /canvas|jsdom/,
contextRegExp: /konva/,
})
actions.replaceWebpackConfig(config)
}
Loading

0 comments on commit ea6670d

Please sign in to comment.