SkillAgentSearch skills...

Wparcel

A webpack-based parcel-like web application bundler

Install / Use

/learn @gaoxiaoliangz/Wparcel
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

wparcel

A webpack-based parcel-like web application bundler

How to use

start your web app

create an html file

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>example ts app</title>
  </head>
  <body>
    <div id="root"></div>
    <!-- js, jsx, ts & tsx are supported -->
    <script src="src/main.js"></script>
  </body>
</html>

script srcs in the html file will be used as webpack entry, files that are referenced by <link> or <img> will be copied to assets folder

yarn add wparcel
yarn wparcel index.html

bundle your web app

wparcel build index.html

Known issues

setting proxy in package.json can affect the behaviour of resolving static assets in public (can use advanced proxy setup to walk around this problem)

View on GitHub
GitHub Stars44
CategoryDevelopment
Updated3y ago
Forks9

Languages

TypeScript

Security Score

65/100

Audited on Mar 13, 2023

No findings