Skip to content

Commit

Permalink
[examples] Fix webpack CLI instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 13, 2024
1 parent 95e1d0e commit ff7099c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
1 change: 0 additions & 1 deletion examples/pigment-css-nextjs-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "pigment-css-nextjs-ts",
"version": "5.0.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
1 change: 0 additions & 1 deletion examples/pigment-css-remix-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "pigment-css-remix-ts",
"private": true,
"sideEffects": false,
"type": "module",
"scripts": {
"build": "remix vite:build",
Expand Down
1 change: 0 additions & 1 deletion examples/pigment-css-vite-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "pigment-css-vite-ts",
"private": true,
"version": "5.0.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
12 changes: 6 additions & 6 deletions examples/pigment-css-webpack-ts/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pigment CSS - Vite with TypeScript example project
# Pigment CSS - webpack with TypeScript example project

## How to use

Expand All @@ -7,8 +7,8 @@ Download the example [or clone the repo](https://github.com/mui/pigment-css):
<!-- #default-branch-switch -->

```bash
curl https://codeload.github.com/mui/pigment-css/tar.gz/master | tar -xz --strip=2 pigment-css-master/examples/pigment-css-vite-ts
cd pigment-css-vite-ts
curl https://codeload.github.com/mui/pigment-css/tar.gz/master | tar -xz --strip=2 pigment-css-master/examples/pigment-css-webpack-ts
cd pigment-css-webpack-ts
```

Install it and run:
Expand All @@ -22,13 +22,13 @@ or:

<!-- #default-branch-switch -->

[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/pigment-css/tree/master/examples/pigment-css-vite-ts)
[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/mui/pigment-css/tree/master/examples/pigment-css-webpack-ts)

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/pigment-css/tree/master/examples/pigment-css-vite-ts)
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/github/mui/pigment-css/tree/master/examples/pigment-css-webpack-ts)

## Learn more

To learn more about this example:

- [Pigment CSS documentation](https://github.com/mui/pigment-css/blob/master/README.md) - learn more about Pigment CSS features and APIs.
- [Vite documentation](https://vite.dev/guide/) - learn about Vite features and APIs.
- [webpack documentation](https://webpack.js.org/) - learn about webpack features and APIs.
2 changes: 1 addition & 1 deletion examples/pigment-css-webpack-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@app/wp-app",
"name": "pigment-css-webpack-ts",
"private": true,
"type": "module",
"scripts": {
Expand Down

0 comments on commit ff7099c

Please sign in to comment.