Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[examples] Fix webpack CLI instructions #277

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading