How to replace bundle css with external css in webpack? -


for example

import codemirror 'codemirror' import markdownit 'markdown-it'; import $ 'jquery'; require('codemirror/mode/markdown/markdown');; require('codemirror/keymap/vim'); require('codemirror/lib/codemirror.css'); 

i add external js file

  externals: {     'markdown-it': 'markdownit',     "react": 'react',     'react-dom': 'reactdom',     'jquery': 'jquery',     'autobahn': 'autobahn'   } 

but if want add external css file codemirror/lib/codemirror.css. need remove statement , manually add css file stylesheet link in html page?


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -