You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to build a js lib with some demo styling inside the index.html.
🤔 Expected Behavior
Want to have a way to exclude files from compiling. only for development and demo envs
😯 Current Behavior
every css and js i set in the index.html go through the paprcel compiler
💁 Possible Solution
Maybe some Ignore next statements in index.html
💻 Examples
<html>
<head>
<!-- should be in the build-->
<script type="module" src="./index.ts"></script>
<!-- next line only for development or demo page, not be included in build-->
<link rel="stylesheet" type="text/css" href="./demo/merged.css" media="all" />
</head>
<body>
<h1> Here is my demo app </h1>
</body>
</html>
The text was updated successfully, but these errors were encountered:
Furthermore, I don't understand the usecase here. The whole HTML file is "the demo", so why would you only want to include the stylesheet "only in the demo"?
🙋 feature request
I want to build a js lib with some demo styling inside the index.html.
🤔 Expected Behavior
Want to have a way to exclude files from compiling. only for development and demo envs
😯 Current Behavior
every css and js i set in the index.html go through the paprcel compiler
💁 Possible Solution
Maybe some Ignore next statements in index.html
💻 Examples
The text was updated successfully, but these errors were encountered: