0.1.31 • Published 26 days ago

@chompbuild/extensions v0.1.31

Weekly downloads
-
License
MIT
Repository
-
Last release
26 days ago

Chomp Extensions

Experimental core extensions for JS & frontend workflows.

This extensions library is available by default in Chomp core under the chomp@0.1: alias in the extensions list.

For example, using the SWC template extension:

chompfile.toml

version = 0.1

extensions = ['chomp@0.1:swc']

[[task]]
name = 'build'
target = 'lib/#.js'
dep = 'src/#.ts'
template = 'swc'

Contributions are encouraged and new template extensions will very likely be accepted.

The following extensions are currently included:

  • assert: Template for asserting the output of target or dependency of a task, useful for test tasks.
  • babel: Template for Babel compilation. The SWC template is highly recommended instead of Babel for performance.
  • footprint: Template for outputting file size charts for build summaries.
  • jspm: Template for JSPM import map generation.
  • npm: Template for initializing npm and ensuring packages are installed / npm install has been run.
  • ncc: Template for ncc Node.js builder.
  • prettier: Template for running Prettier.
  • replace: Template for source replacements.
  • rollup: Template for RollupJS compilation.
  • svelte: Template for Svelte. Just a prototype currently, contributions would be great.
  • swc: Template for the SWC compiler. Recommended for TypeScript / JSX / JS transpilation workflows with Chomp.
  • terser: Template for Terser minification

LICENSE

MIT

0.1.31

26 days ago

0.1.30

2 months ago

0.1.29

8 months ago

0.1.27

2 years ago

0.1.28

2 years ago

0.1.26

2 years ago

0.1.22

2 years ago

0.1.23

2 years ago

0.1.24

2 years ago

0.1.25

2 years ago

0.1.20

2 years ago

0.1.21

2 years ago

0.1.16

2 years ago

0.1.17

2 years ago

0.1.18

2 years ago

0.1.19

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago