mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
unbreak storybook (#14059)
This commit is contained in:
parent
b43d565af7
commit
524e0aaf07
4
.storybook/__mocks__/webextension-polyfill.js
Normal file
4
.storybook/__mocks__/webextension-polyfill.js
Normal file
@ -0,0 +1,4 @@
|
||||
module.exports = {
|
||||
runtime: {},
|
||||
};
|
||||
|
@ -23,6 +23,7 @@ module.exports = {
|
||||
config.node = {
|
||||
__filename: true,
|
||||
};
|
||||
config.resolve.alias['webextension-polyfill'] = require.resolve('./__mocks__/webextension-polyfill.js')
|
||||
config.module.strictExportPresence = true;
|
||||
config.module.rules.push({
|
||||
test: /\.scss$/,
|
||||
|
Loading…
Reference in New Issue
Block a user