@salty-css/react 0.1.0-feat-turbopack.0 → 0.1.0-feat-template-variants.0

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.
Files changed (2) hide show
  1. package/README.md +0 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -408,8 +408,6 @@ And note: steps 2 & 3 are just to show how get new components up and running, st
408
408
  - **Next.js 15:** In `next.config.ts` add import for salty plugin `import { withSaltyCss } from '@salty-css/next';` and then add `withSaltyCss` to wrap your nextConfig export like so `export default withSaltyCss(nextConfig);`
409
409
  - **Next.js 14 and older:** In `next.config.js` add import for salty plugin `const { withSaltyCss } = require('@salty-css/next');` and then add `withSaltyCss` to wrap your nextConfig export like so `module.exports = withSaltyCss(nextConfig);`
410
410
 
411
- Both Webpack and Turbopack are supported. `withSaltyCss` auto-detects which bundler Next.js is using (`next dev --turbopack` sets `process.env.TURBOPACK=1`), so no extra config is required. To force a specific bundler, pass `{ bundler: 'webpack' | 'turbopack' }` as the second argument.
412
-
413
411
  4. Make sure that `salty.config.ts` and `next.config.ts` are in the same folder!
414
412
  5. Build `saltygen` directory by running your app once or with cli `npx salty-css build [directory]`
415
413
  6. Import global styles from `saltygen/index.css` to some global css file with `@import 'insert_path_to_index_css';`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salty-css/react",
3
- "version": "0.1.0-feat-turbopack.0",
3
+ "version": "0.1.0-feat-template-variants.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "typings": "./dist/index.d.ts",
@@ -78,7 +78,7 @@
78
78
  }
79
79
  },
80
80
  "dependencies": {
81
- "@salty-css/core": "^0.1.0-feat-turbopack.0",
81
+ "@salty-css/core": "^0.1.0-feat-template-variants.0",
82
82
  "clsx": ">=2.x",
83
83
  "react": ">=19.x || >=18.3.x"
84
84
  },