Comments (8)
Hi @jedchang. Sorry for a late reply, I was busy this week.
I think I've fixed it, but I'll need your help to verify this :)I would like you to test it, the steps are:
- Clone the project:
git clone https://github.com/VladimirMikulic/parcel-plugin-custom-dist-structure.git
- Check out the test branch:
git checkout fix/incorrect-windows-file-paths
- Make it available globally on your system:
npm link
- After running npm link, you'll get the absolute path to the package -> copy it
- Enter your project and run npm i -D <absolute_path> to install the plugin (before this, make sure to delete the version from NPM)
- Report the results here
Thank you.
Hi @VladimirMikulic,
Follow the steps you provided to test, the path of the picture becomes url (..\images\banner-bg.de802b11.jpg)
But the same picture is not displayed? It seems to be changed to url (../images/banner-bg.de802b11.jpg)
to display?
from parcel-plugin-custom-dist-structure.
Awesome! Thank you very much for helping me.
This patch will be published together with the patch for #19.
from parcel-plugin-custom-dist-structure.
I have good news. The v1.1.10 has been published and includes this patch.
Enjoy 🚀
from parcel-plugin-custom-dist-structure.
Hi @jedchang. Thank you for reporting this issue.
The fix will be published soon.
from parcel-plugin-custom-dist-structure.
Hi @jedchang. Sorry for a late reply, I was busy this week.
I think I've fixed it, but I'll need your help to verify this :)
I would like you to test it, the steps are:
- Clone the project:
git clone https://github.com/VladimirMikulic/parcel-plugin-custom-dist-structure.git
- Check out the test branch:
git checkout fix/incorrect-windows-file-paths
- Make it available globally on your system:
npm link
- After running npm link, you'll get the absolute path to the package -> copy it
- Enter your project and run npm i -D <absolute_path> to install the plugin (before this, make sure to delete the version from NPM)
- Report the results here
Thank you.
from parcel-plugin-custom-dist-structure.
By the way, instead of doing rm -rf
, you can use parcel-plugin-nuke-dist
(not my plugin, just a suggestion :)
from parcel-plugin-custom-dist-structure.
Hi @jedchang. Thank you for testing it.
I've pushed a new change, could you please try it out following the same steps from above?
Thank you.
from parcel-plugin-custom-dist-structure.
HI @VladimirMikulic
Awesome! after testing, the path worked perfectly.
Thank you~
from parcel-plugin-custom-dist-structure.
Related Issues (20)
- Incorrect dependency resolution after update in watch mode with public-url HOT 17
- Multiple HTML pages cannot use the same css, image HOT 17
- The "id" argument must be of type string HOT 4
- Ignore some files HOT 15
- The image path in css doesn't replaced HOT 19
- Wrong path of imported image on build HOT 9
- DevTools failed to load SourceMap HOT 6
- Request information about readme enclosed image HOT 4
- The plugin doesn't work for me HOT 4
- Merge with parcel-plugin-structurize HOT 4
- Puts css in folder but does not link to it HOT 2
- Does it work for parcel version 2? HOT 8
- How to save svg fonts to the fonts folder? HOT 7
- The plugin "parcel-plugin-custom-dist-structure" has encountered an error. HOT 3
- Websocket is not open - Error HOT 2
- Configure HOT 2
- Not working in npm7 workspaces HOT 2
- [Suggestion] Join forces with 'structurize' and 'parcel-namer-rewrite' HOT 6
- Custom dist structure in parcel v2 HOT 4
- parcel localhost breaks when customDistStructure is added to package.json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parcel-plugin-custom-dist-structure.