1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 20:02:58 +01:00

unbreak storybook (#14059)

This commit is contained in:
Alex Donesky 2022-03-18 19:04:59 -05:00 committed by GitHub
parent b43d565af7
commit 524e0aaf07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
module.exports = {
runtime: {},
};

View File

@ -23,6 +23,7 @@ module.exports = {
config.node = { config.node = {
__filename: true, __filename: true,
}; };
config.resolve.alias['webextension-polyfill'] = require.resolve('./__mocks__/webextension-polyfill.js')
config.module.strictExportPresence = true; config.module.strictExportPresence = true;
config.module.rules.push({ config.module.rules.push({
test: /\.scss$/, test: /\.scss$/,