Skip to content
Permalink
Browse files

Chore: Omit JSX packages when bundling for the browser

  • Loading branch information...
antross committed Oct 15, 2019
1 parent fac5cb2 commit e8aa1098e5483fea8de59b220675248fbe41b9e1
@@ -0,0 +1 @@
export const extend = () => {};
@@ -0,0 +1 @@
export = null;
@@ -85,6 +85,8 @@ module.exports = (env) => {
'./i18n/get-message$': path.resolve(__dirname, 'dist/src/shims/get-message.js'),
'@hint/utils/dist/src/i18n/get-message$': path.resolve(__dirname, 'dist/src/shims/get-message.js'),
'@hint/utils/dist/src/network/request-async$': path.resolve(__dirname, 'dist/src/shims/request-async.js'),
'acorn-jsx$': path.resolve(__dirname, 'dist/src/shims/acorn-jsx.js'),
'acorn-jsx-walk$': path.resolve(__dirname, 'dist/src/shims/acorn-jsx-walk.js'),
'axe-core': require.resolve('axe-core/axe.min.js'),
url$: path.resolve(__dirname, 'dist/src/shims/url.js')
}

0 comments on commit e8aa109

Please sign in to comment.
You can’t perform that action at this time.