We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi,
if I have src/index.js it works if I renamed it to src/index.mjs it does not.
src/index.js
src/index.mjs
that is bad because rollup is about .mjs (EcmaScript modules).
.mjs
The text was updated successfully, but these errors were encountered:
0baa8c6
@muayyad-alsadi , you can use the extensions option:
extensions
import { rollup } from 'rollup' import jscc from 'rollup-plugin-jscc' export default { input: 'src/main.js', plugins: [ jscc({ extensions: ['js', 'mjs', 'pug', 'html'], // etc values: { _APPNAME: 'My App', _DEBUG: 1 }, }), ], //...other options }
I will include 'mjs' in the next version
Sorry, something went wrong.
@muayyad-alsadi , rollup-plugin-jscc v2.0 is in npm, it includes "mjs" in the default extension list.
No branches or pull requests
hi,
if I have
src/index.js
it worksif I renamed it to
src/index.mjs
it does not.that is bad because rollup is about
.mjs
(EcmaScript modules).The text was updated successfully, but these errors were encountered: