Skip to content

Commit e51b452

Browse files
committed
Disable crypto import warning in axe-core
1 parent 1f0312f commit e51b452

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ember-cli-build.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,13 @@ module.exports = function (defaults) {
5252
return require('@embroider/compat').compatBuild(app, Webpack, {
5353
staticAddonTestSupportTrees: true,
5454
staticModifiers: true,
55+
packagerOptions: {
56+
webpackConfig: {
57+
resolve: {
58+
// disables `crypto` import warning in `axe-core`
59+
fallback: { crypto: false },
60+
},
61+
},
62+
},
5563
});
5664
};

0 commit comments

Comments
 (0)