We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parcel crush when try build project with wildcard import on Windows
package.json
{ "name": "hazard-report", "version": "1.0.0", "description": "page for hazard report", "main": "index.html", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "parcel index.html", "build": "parcel build index.html --out-dir public", "serve": "http-server ./public" }, "author": "", "license": "ISC", "dependencies": { "vue": "^2.5.17" }, "devDependencies": { "autoprefixer": "^9.1.3", "babel-preset-env": "^1.7.0", "babel-preset-stage-1": "^6.24.1", "http-server": "^0.11.1", "parcel": "^1.9.7", "postcss-modules": "^1.3.2", "stylus": "^0.54.5" }, "alias": { "vue": "./node_modules/vue/dist/vue.common.js" } }
.babelrc.json
{ "presets": ["stage-1"] }
.postcssrc.json
{ "modules": true, "plugins": { "autoprefixer": { "grid": false } } }
It must not crush, as it happens on linux, or if i comment wildcard import on windows
Its crush after start parcel index.html
parcel index.html
Error: ENOENT: no such file or directory, open 'G:\git\hazard-brief\src\assets\images\icons\hazards\large\*.png'
No idea
Just take windows 10 and try do something like this:
import images from '/images/*.png';
Then try build it.
The text was updated successfully, but these errors were encountered:
Fixed in #1965
Gonna close this for now as it's a known issue and a PR already exists
Sorry, something went wrong.
No branches or pull requests
🐛 bug report
parcel crush when try build project with wildcard import on Windows
🎛 Configuration (.babelrc, package.json, cli command)
package.json
.babelrc.json
.postcssrc.json
🤔 Expected Behavior
It must not crush, as it happens on linux, or if i comment wildcard import on windows
😯 Current Behavior
Its crush after start
parcel index.html
💁 Possible Solution
No idea
💻 Code Sample
Just take windows 10 and try do something like this:
Then try build it.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: