Skip to content

Commit

Permalink
Adding normal build command
Browse files Browse the repository at this point in the history
  • Loading branch information
mlgarchery committed Apr 26, 2021
1 parent bc2cc28 commit c3b3d5a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ npm run dev # launch parcel-bundler hot-reloading dev server

(Until the CI is put in place):

Build the output index.html and js bundle in `docs/` with:
Build the output index.html and js bundle in `dist/` with:
```
npm run build
```
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<link rel="shortcut icon" type="image/jpg" href="./favicon.jpeg"/>
<link rel="shortcut icon" type="image/jpg" href="favicon.jpeg"/>
<title> mdp </title>
</head>
<body>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"scripts": {
"dev": "npx parcel index.html",
"build": "rm -rf docs/ && NODE_ENV=production NODE_PATH=. npx parcel build index.html --public-url /mdp -d docs --no-source-maps",
"build": "rm -rf dist/ && NODE_ENV=production npx parcel build ./index.html --no-source-maps --public-url ./",
"build:github": "rm -rf docs/ && NODE_ENV=production npx parcel build index.html --public-url /mdp -d docs --no-source-maps",
"stylelint": "npx stylelint src/*.scss",
"stylelint:vue": "npx stylelint 'src/*vue' --syntax scss",
"test": "NODE_PATH=. NODE_OPTIONS=--experimental-vm-modules npx jest"
Expand Down

0 comments on commit c3b3d5a

Please sign in to comment.