Hi, it's nice to meet you!
I'm using babel-plugin-prismjs in an editor project. Then I bundle it up with babel-plugin-prismjs, upload that editor to npm and use that editor in other web application. It seems all right when using in my editor, but I got an error while bundling the web application.
ERROR in ./node_modules/editor/dist/editor.min.js
Module not found: Error: Can't resolve 'prismjs/components/prism-' in '/data/www/helloworld/node_modules/editor/dist'
Is there a way to fix that? Thanks a lot!
After a few check, I found out there's a mistake in my configuration.
Hi, it's nice to meet you! I'm using babel-plugin-prismjs in an editor project. Then I bundle it up with babel-plugin-prismjs, upload that editor to npm and use that editor in other web application. It seems all right when using in my editor, but I got an error while bundling the web application.
Is there a way to fix that? Thanks a lot!
After a few check, I found out there's a mistake in my configuration.