From 44c610b910db8eeba0735527b37539969678858d Mon Sep 17 00:00:00 2001 From: Patrick Browne Date: Tue, 28 Jul 2020 17:13:38 +0200 Subject: [PATCH] fix: Do not transform ansi-styles with identity-obj-proxy --- package.json | 2 +- src/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 761bdc633..33c491b8f 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ "^react$": "/config/aliases/globalReact", "^(react-dom|react-dom/(.*))$": "/config/aliases/globalReactDOM", "\\.(png|gif|jpe?g|svg)$": "/test/__mocks__/fileMock.js", - "styles": "identity-obj-proxy" + "\\.styl$": "identity-obj-proxy" }, "browser": true, "transformIgnorePatterns": [ diff --git a/src/index.jsx b/src/index.jsx index d37156894..d2ae8f2d2 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -22,7 +22,7 @@ import { getUserActionRequired, APP_SELECTOR } from './dom' -import 'styles' +import 'styles/index.styl' import 'lib/importIcons' const createBarElement = () => {