Skip to content

Problem with static files pathΒ #95

Description

@arxanter

πŸ› Bug Report

Hello, thank you for your work at that plugin. Have some issue with load static files(svg, png and etc.)
After compiling, I get the wrong path .JS and .CSS file

πŸŽ› Configuration (.svelterc, package.json, cli command)

.svelterc - empty

package.json:
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.4",
"@babel/preset-env": "^7.7.4"
"autoprefixer": "^9.7.2",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-module-resolver": "^3.2.0",
"eslint": "^6.7.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"parcel-bundler": "^1.12.4",
"parcel-plugin-clean-dist": "0.0.6",
"parcel-plugin-svelte": "^4.0.5",
"stylelint-config-recommended": "^3.0.0",
"stylint": "^2.0.0",
"svelte": "^3.16.0"
},
"dependencies": {},
"scripts": {
"build": "BABEL_ENV=production parcel build src/index.html",
"start": "parcel src/index.html -p 3000"
},
"browserslist": [
"last 2 chrome versions"
],
"alias": {
"shared": "./src/shared"
}
}

πŸ’» Code Sample

Screenshot 2019-12-01 at 19 38 44

Screenshot 2019-12-01 at 19 41 33

🌍 Your Environment

Svelte version 3.16.0, parcel-bundler version 1.12.4

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions