create-bcp-app 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ npm run css:watch
|
|
|
55
55
|
npm run css:build:prod
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
`npm run dev` performs an initial CSS build, then runs the Tailwind watcher and `bcp dev` together. BCP serves `/bcp.css` as a normal static asset from `public
|
|
58
|
+
`npm run dev` performs an initial CSS build, then runs the Tailwind watcher and `bcp dev` together. BCP serves `/bcp.css` as a normal static asset from `public/`. Starting with BCP 0.1.6, stylesheets at that path are inlined into SSR HTML when they are 8 KiB or smaller and the active Content Security Policy allows inline styles. Larger stylesheets remain external for normal browser caching. `npm run build` creates a minified stylesheet before the BCP production build.
|
|
59
59
|
|
|
60
60
|
### Database
|
|
61
61
|
|
|
@@ -100,5 +100,5 @@ npx create-bcp-app my-app --yes
|
|
|
100
100
|
The `--bcp` option is primarily useful for prerelease and local package testing, for example:
|
|
101
101
|
|
|
102
102
|
```bash
|
|
103
|
-
npx create-bcp-app my-app --bcp file:../bcp-0.1.
|
|
103
|
+
npx create-bcp-app my-app --bcp file:../bcp-0.1.6.tgz
|
|
104
104
|
```
|