-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create rollup builds with Babel 7 (#459)
* start * VS Code is too smart sometimes * Fix preact-emotion build * meh * It didn't help * Try to make it more similar to master * Run tests on dist files and make more of emotion-theming's tests run on the external api * Fix UMD build * Maybe this'll fix it * Actually fix UMD build * Don't run build twice on Travis
- Loading branch information
Showing
6 changed files
with
709 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"transform": { | ||
"\\.css$": "<rootDir>/test/styleTransform.js", | ||
"^.+\\.js?$": "babel-jest" | ||
}, | ||
"moduleNameMapper": { | ||
"^emotion$": "<rootDir>/packages/emotion/dist/index.cjs.js", | ||
"^react-emotion$": "<rootDir>/packages/react-emotion/dist/index.cjs.js", | ||
"^emotion-utils$": "<rootDir>/packages/emotion-utils/dist/index.cjs.js", | ||
"^emotion-server$": "<rootDir>/packages/emotion-server/lib", | ||
"^emotion-theming$": "<rootDir>/packages/emotion-theming/dist/index.cjs.js", | ||
"^babel-plugin-emotion": "<rootDir>/packages/babel-plugin-emotion/lib" | ||
}, | ||
"transformIgnorePatterns": [ | ||
"dist" | ||
], | ||
"testPathIgnorePatterns": [ | ||
"babel-plugin-emotion" | ||
], | ||
"setupTestFrameworkScriptFile": "<rootDir>/test/testSetup.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.