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
Change the ES6 css import statement to go up a directory first, so the dist folder can always import the css file directly from the ./src/ directory
./dist/query-builder.js:4
import '../src/query-builder.css';
Change the package json file to directly reference the uncompiled ./src/ directory for external webpack ES6 imports, rather than pointing to the ./dist/ directory which is for those who lack a external buildchain
package.json
"main": "src/query-builder.js",
The text was updated successfully, but these errors were encountered:
JamesMcGuigan
changed the title
Missing ./dist/query-builder.css
NPM install missing ./dist/query-builder.css
May 14, 2017
I was investigating this tool for use in an ES6 project with a custom webpack/babel config (without babel "es2015").
Attempting to import your npm module resulted in a compile time error due to a missing file, with the error focused on this line
There are a few possible fixes:
package.json
./dist/query-builder.js:4
package.json
The text was updated successfully, but these errors were encountered: