Comments (3)
Would adding a section at the top of the assets page work (just before javascript)?
Something like:
Importing uncompiled assets directly from index.html
If you link any file supported by parcel (JavaScript/Typescript/SCSS/...) in an HTML
file Parcel will automatically process it for you.
Meaning, you can directly reference a .ts
or .scss
file in your index.html
and it will just work.
(+ code example)
from website.
If anyone wants to tackle this, now html has it's own page where this could end up in: https://en.parceljs.org/html.html#html
from website.
@DeMoorJasper I took a shot at adding the requested info. Let me know if you want any changes!
from website.
Related Issues (20)
- Add more docs for monorepos
- Rust native modules apparently require Windows Visual C++ packages
- Add Configuration section with some `.parcelrc` examples HOT 5
- parcel build fails on very basic configuration HOT 1
- [Plugin Search page]Error 400 is reported for page request HOT 2
- Recipe documentation says to install parcel-bundler, but that appears to be obsolete HOT 1
- Need atleast one example for outputFormat HOT 2
- Getting started suggests installing obsolete parcel-bundler HOT 4
- Update the React recipe for React v18
- Typescript ambient module have to be imported
- Telling Typescript about css modules
- Surface documentation for @parcel/transformer-css errorRecovery flag HOT 1
- Yyy
- Do we have a translation document, such as Chinese?
- Brainstorming on color palette.
- `import assset from 'url:./logo.png';` isn't documented anywhere
- Svelte recipe does not work HOT 2
- Parcel org
- Overflow on Mobile View
- The example of proxy api is poor.
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 website.