Skip to content

Commit

Permalink
Try using import in webpack condition names
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Oct 12, 2023
1 parent ec001a0 commit 48abbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/webpack/webpack.extension.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const config = {
resolve: {
extensions: ['.ts', '.js'],
plugins: [new tsconfig_paths_webpack_plugin.TsconfigPathsPlugin({ configFile: configFileName })],
conditionNames: ['require', 'node'],
conditionNames: ['import', 'require', 'node'],
},
output: {
filename: '[name].js',
Expand Down

0 comments on commit 48abbd7

Please sign in to comment.