-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
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
Plugin order causes issues #177
Comments
It should be fixed in 4.5.2 |
Thank you! |
So isn't this done?! |
I encountered problems using @rollup/plugin-eslint. // bili.config.ts
import { Config } from 'bili';
const config: Config = {
input: 'src/index.ts',
output: {
format: ['cjs', 'esm']
},
plugins: {
'@rollup/plugin-eslint': {
throwOnError: true
}
}
};
export default config; The problem is that bili puts this plugin in last place, so it's linting transformed code and not the original one.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
when trying to fix the build for
vue-plyr
(redxtech/vue-plyr#60) by updating tobili@4
(see here: https://github.com/zcuric/vue-plyr/pull/1) I encountered an issue when using specific babel config with vue files (I was trying to solve this actually: rollup/rollup-plugin-babel#260).Error I got was this:
After debugging, we concluded that was probably because of order of plugins, which we test by moving
bili/src/index.ts
Lines 290 to 301 in 28b1a19
to here:
bili/src/index.ts
Line 216 in 28b1a19
In
bili@3
this wasn't an issue, probably because of the way the plugins were defined, array was used in that config.So, there should be a way to define the plugin priority or order of execution to fix these kind of errors.
cc @vladimyr
The text was updated successfully, but these errors were encountered: