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
plugins order of excecution #996
Comments
Plugins are executed in order. What behaviour are you having, and what do you want? |
Create an entry file with some ES2015 (for babel) and some "variable" (
End result should be
setup Rollup with plugins:
When I run this (as GULP task) I get this stack trace:
What I thinkSeems like the transform doesn't happen in time, and the regex in the entry file |
Wait I am investigating more, seems like it works in another setup |
Sorry for have wasted your time, it was a mistake of my part which had led me to the wrong conclusion. I'm very deeply sorry! please continue your nice day and have no memory of this ticket. tl;dr The error message which I saw was from my tests, which use different rollup plugins array, and that array order wasn't so the trasnform was first, so when my app's default gulp task ran, the app bundle was fine but the tests rollup bundle broke. |
Hi, is the order of plugins execution nontenured?
I have a transform plugin which must run before the
babel
plugin, and it seems to not be running at the order the Array of plugins was set to be.I have lines of code with things like
[SERVERPATH]
which make no sense for Babel and throws an error for them, unless those are replaced with a real meaningful string via basic rollup transform:The text was updated successfully, but these errors were encountered: