0.10.25 ā€¢ Published 1 year ago

@woofjs/build v0.10.25

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

šŸ•šŸ—ļø @woofjs/build

Build system in a box for Woof projects.

How to Use

First, install this package in your Woof project as a dev dependency.

npm i --save-dev @woofjs/build

Installing this package makes the woof-build command available in package.json scripts:

{
  "scripts": {
    "build": "woof-build --minify",
    "start": "woof-build --watch"
  }
}

Options

--watch or -w

Starts an HTTP server with live reload. Visit this server in your browser to see your app.

--minify

Shortens variable names and removes whitespace in an effort to reduce bundle size as much as possible. Recommended for production builds.

File Structure

Woof's build system expects projects to be organized in a particular way.

project/
  client/
    app.jsx
  server/
    app.jsx
  static/
    ...
  package.json
  woof.config.js

The entrypoint for a client app should be client/app.(jsx|tsx|js|ts) relative to the package.json where this package is installed. The entrypoint for a server app should be server/app.(jsx|tsx|js|ts) relative to the package.json where this package is installed. Both entrypoints are optional, but both can also coexist in one project. Static files accessible to both client and server go in the static folder.

In this way Woof works for standalone APIs, standalone SPAs, and monolithic full stack apps with logic on the frontend and supporting routes on the backend.


šŸ¦†

0.10.25

1 year ago

0.10.24

1 year ago

0.10.23

1 year ago

0.10.22

1 year ago

0.10.21

1 year ago

0.10.20

1 year ago

0.10.19

1 year ago

0.10.18

1 year ago

0.10.17

1 year ago

0.10.16

1 year ago

0.10.15

1 year ago

0.10.14

1 year ago

0.10.13

1 year ago

0.10.12

2 years ago

0.10.11

2 years ago

0.10.10

2 years ago

0.10.9

2 years ago

0.10.8

2 years ago

0.10.7

2 years ago

0.10.6

2 years ago

0.10.5

2 years ago

0.10.4

2 years ago

0.10.3

2 years ago

0.10.2

2 years ago

0.10.1

2 years ago

0.10.0

2 years ago

0.9.6

2 years ago

0.9.5

2 years ago

0.9.4

2 years ago

0.9.3

2 years ago

0.9.2

2 years ago

0.9.1

2 years ago

0.9.0

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.7.3

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.9

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago