3.2.0 • Published 2 years ago

@architect/plugin-bundles v3.2.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

plugin-bundles

Plugin for exposing bundled modules to the browser from your Architect project.

Install

npm i @architect/plugin-bundles

Usage

In your app.arc file:

@app
bndl-mock

@http
get /yolo

# Define you plugins pragma
@plugins
# Add the plugin bundles module
architect/plugin-bundles

# Define the bundles pragma
@bundles
# Specify which modules to bundle based off of file path.
# . Hint: You can include organization node modules by quoting the path
# . i.e. hashids "@begin/hashids"
yolo /lib/yolo.mjs

Bundles are will now be available at /_static/bundles/yolo.mjs

🙌 Turn fingerprinting on and use static.json to retrieve the fingerprinted file name.

3.2.0

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.2.0-RC.0

2 years ago

3.0.4

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.5

2 years ago

3.0.0

2 years ago

2.0.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago