Skip to content

Commit 33827f3

Browse files
committed
dom-snapshot@0.2.1
notable change: - fix: babel & uglify config - use CSS Object Model (CSSOM) API to extract style from `styled-components` - collect font info and try drop unused font - package update
1 parent 21d25d0 commit 33827f3

File tree

4 files changed

+652
-606
lines changed

4 files changed

+652
-606
lines changed

babel.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ module.exports = {
1212
[ 'module-resolver', {
1313
root: [ './' ],
1414
alias: isModule ? undefined : {
15-
'dr-dev/module/(.+)': 'dr-dev/library/',
16-
'dr-js/module/(.+)': 'dr-js/library/'
15+
'^dr-dev/module/(.+)': 'dr-dev/library/\\1',
16+
'^dr-js/module/(.+)': 'dr-js/library/\\1'
1717
}
1818
} ]
1919
].filter(Boolean),

0 commit comments

Comments
 (0)