You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dev works. I get the expected results, which is my two index files are dropped into the root of my assets folder and both are populated with code. I can see my Sass and JS coming in from the separate files. build will also output both index files, however, the js file is empty. The css file is populated.
No errors. Build completes.
All other settings are default.
Let me know if you need any more info. Thanks for any help.
🤔 Expected Behavior
index.js has code in it.
😯 Current Behavior
index.js is empty.
How has this issue affected you? What are you trying to accomplish?
I am a Shopify developer and I want to set up a build tool for JS and Sass.
🌍 Your Environment
I'm on a Win10 laptop running the latest node and npm.
The text was updated successfully, but these errors were encountered:
This issue was also posted on stackoverflow, and I managed to resolve it there. Feel free to close.
The problem was that the entire bundle was getting tree-shaken away - because it was intended to expose the contents as a global variables - which were not used in the bundle itself. We managed to find a workaround, but this process will become simpler once #7312 is fixed.
🐛 bug report
In my package.json:
dev works. I get the expected results, which is my two index files are dropped into the root of my assets folder and both are populated with code. I can see my Sass and JS coming in from the separate files.
build will also output both index files, however, the js file is empty. The css file is populated.
No errors. Build completes.
All other settings are default.
Let me know if you need any more info. Thanks for any help.
🤔 Expected Behavior
index.js has code in it.
😯 Current Behavior
index.js is empty.
How has this issue affected you? What are you trying to accomplish?
I am a Shopify developer and I want to set up a build tool for JS and Sass.
🌍 Your Environment
I'm on a Win10 laptop running the latest node and npm.
The text was updated successfully, but these errors were encountered: