Skip to content

Commit

Permalink
RC #251 - Testing adding "conditionNames" to core-data and geospatial…
Browse files Browse the repository at this point in the history
… Webpack configs
  • Loading branch information
dleadbetter committed Feb 5, 2024
1 parent 4134249 commit 70573d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/core-data/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
const { configure } = require('@performant-software/webpack-config');

module.exports = configure(__dirname);
module.exports = configure(__dirname, {
resolve: {
conditionNames: ['import', 'browser', 'node', 'default']
}
});
3 changes: 2 additions & 1 deletion packages/geospatial/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = configure(__dirname, {
__dirname,
'../../node_modules/maplibre-gl/dist/maplibre-gl.css'
)
}
},
conditionNames: ['import', 'browser', 'node', 'default']
}
});

0 comments on commit 70573d5

Please sign in to comment.