Skip to content

Commit

Permalink
fix: add more module aliases to use esm - externalize highlight.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 2, 2021
1 parent 70a17bf commit e192d31
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,21 @@
"react-refresh": false,
"mobx-react": false,
"@nteract/plotly": false,
"refractor": false
"refractor": false,
"highlight.js": false
},
"isLibrary": true
}
},
"alias": {
"moment": "moment/src/moment.js"
"async": "async/index.js",
"moment": "moment/src/moment.js",
"mobx": "mobx/lib/mobx.module.js",
"immutable": "immutable/dist/immutable.es.js",
"@emotion/stylis": "@emotion/stylis/dist/stylis.esm.js",
"re-resizable": "re-resizable/lib/index.js",
"react-syntax-highlighter": "react-syntax-highlighter/dist/esm/index.js",
"react-syntax-highlighter/dist/cjs/styles/prism/vs": "react-syntax-highlighter/dist/esm/styles/prism/vs.js",
"react-syntax-highlighter/dist/cjs/styles/prism/xonokai": "react-syntax-highlighter/dist/esm/styles/prism/xonokai.js"
}
}

0 comments on commit e192d31

Please sign in to comment.