diff --git a/.gitignore b/.gitignore index e699289..9934c2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -/site/js/*function-plot.js -/site/js/*function-plot.js.map +/site/*function-plot.js +/site/*function-plot.js.map /dist /site/partials/examples.html /site/partials/recipes.html diff --git a/package.json b/package.json index 95e52db..f600603 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build": "npx rimraf dist && npm run html && npm run docs && npm run build:typescript && npm run build:webpack && npm run build:site", "build:webpack": "NODE_ENV=production webpack", "build:typescript": "tsc && mkdir -p dist/samplers && cp src/samplers/*.mjs dist/samplers/", - "build:site": "cp dist/*function-plot.js site/js && cp dist/*function-plot.js.map site/js", + "build:site": "cp dist/*function-plot.js* site/", "start": "webpack-dev-server", "docs": "typedoc --excludeExternals --externalPattern \"**/node_modules/**\" --out site/docs src/index.ts", "test": "npm run test:jest && npm run test:format", diff --git a/site/index.html b/site/index.html index 732cb90..0117e56 100644 --- a/site/index.html +++ b/site/index.html @@ -205,13 +205,7 @@