Skip to content

Commit

Permalink
Try using import in webpack condition names (microsoft#22212)
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig authored Oct 13, 2023
1 parent 6c23e43 commit bdb8efb
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 bdb8efb

Please sign in to comment.