packages with main files that are not JavaScript are breaking acorn (v0.10.0 alpha) #484
Closed
1 of 5 tasks
Labels
Projects
Milestone
Type of Change
Summary
Was testing with the package simpledotcss which has a
package.json#main
file like thisand was getting this error when running
yarn develop
Details
This makes sense given we are just assuming all packages in package.json are JavaScript based and so feeding a CSS file into
acorn
will break and also does not make sense for that getting put into animportMap
.Will just need to do some basic filtering of packages we put into the
importMap
.The text was updated successfully, but these errors were encountered: