0.1.31 • Published 1 year ago

@chompbuild/extensions v0.1.31

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

0.1.30

1 year ago

0.1.29

2 years ago

0.1.27

3 years ago

0.1.28

3 years ago

0.1.26

3 years ago

0.1.22

3 years ago

0.1.23

3 years ago

0.1.24

3 years ago

0.1.25

3 years ago

0.1.20

3 years ago

0.1.21

3 years ago

0.1.16

3 years ago

0.1.17

3 years ago

0.1.18

3 years ago

0.1.19

3 years ago

0.1.15

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago