Comments (4)
Okay, I removed the need for --public-url
in 75e1254. It was actually easier than I thought. I also pushed the changes to NPM, so all you have to do is update the package.
However I'm still not being able to make the two plugins work together. The problem is that PostHTML (which my plugin uses) takes longer to finish than parcel-plugin-ogimage
.
🐨 yarn parcel build index.html
yarn run v1.19.1
warning package.json: No license field
$ /Users/ferreira.silvio/Code/blaa/node_modules/.bin/parcel build index.html
✨ Built in 342ms.
dist/card.bdd59de1.png 40.77 KB 20ms
dist/blaa.d364822e.js 1.13 KB 27ms
dist/index.html 267 B 17ms
dist/blaa.d364822e.js.map 186 B 17ms
Started inlining
✨ Fixed og:image link in 5ms.
Finishing inlining
✨ Done in 1.43s.
from parcel-plugin-inliner.
There is a way to control plugins run sequence?
from parcel-plugin-inliner.
Not that I know of, but I'll keep investigating. I don't have much control due to the way both Parcel and PostHTML work :(
from parcel-plugin-inliner.
After some chatting with Parcel experts this would require changes in Parcel code itself. Sorry about that. I'll be closing the issue since there isn't much to be done from my side. :(
from parcel-plugin-inliner.
Related Issues (20)
- Plugin does not inline resources HOT 6
- Unable to configure the posthtml-inline-assets module HOT 4
- changes to assets during `parcel watch` don't propagate to inlined copies HOT 2
- Failure to escape '</script' in inlined code HOT 1
- Example links in README are broken. HOT 3
- how can it only inline in production mode, disable inline in development mode HOT 1
- FYI
- Comments are removed, overriding .terserrc file HOT 1
- what about favicon.ico? HOT 1
- How to use with scss? HOT 1
- Does this plugin support parcel version >= 2.0.0-beta.1? HOT 4
- Last two version are not published to NPM repo HOT 2
- Does not work on Windows HOT 1
- Inline asserts in generated html files. HOT 1
- Allow to conditionally inline ressources HOT 2
- Unable to resolve local CSS files HOT 2
- Cannot read property 'type' of null HOT 5
- Only inline certain types of resources HOT 1
- Working with SVG HOT 9
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-inliner.