Skip to content

Commit

Permalink
chore(deps): bump copc and remove unecessary ignore of fs
Browse files Browse the repository at this point in the history
copc 0.0.6 added an additional hint in its package.json to ignore the fs
module.
  • Loading branch information
Desplandis committed Mar 28, 2024
1 parent 9be39b7 commit d4779cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@mapbox/vector-tile": "^1.3.1",
"@tmcw/togeojson": "^5.8.1",
"@tweenjs/tween.js": "^18.6.4",
"copc": "^0.0.5",
"copc": "^0.0.6",
"earcut": "^2.2.4",
"js-priority-queue": "^0.1.5",
"pbf": "^3.2.1",
Expand Down
7 changes: 0 additions & 7 deletions webpack.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const fs = require('fs');
const path = require('path');
const webpack = require('webpack');
const ESLintPlugin = require('eslint-webpack-plugin');

const mode = process.env.NODE_ENV;
Expand Down Expand Up @@ -82,12 +81,6 @@ module.exports = () => {
new ESLintPlugin({
files: include,
}),
// Prevent the generation of module fs for import on copc dependency
// See https://webpack.js.org/plugins/ignore-plugin/
new webpack.IgnorePlugin({
resourceRegExp: /^fs$/,
contextRegExp: /copc/,
}),
],
devServer: {
devMiddleware: {
Expand Down

0 comments on commit d4779cc

Please sign in to comment.