diff --git a/.gitignore b/.gitignore index 48d3b1f..f5ebb39 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules public/scripts +dist diff --git a/package.json b/package.json index fdf8e32..75152a9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A demo of an implementation of an animated list in React Typescript.", "main": "index.tsx", "scripts": { - "build": "esbuild index.tsx --bundle", + "build": "esbuild index.tsx --bundle --sourcemap --outfile=./dist/demo-react-animated-list.js", "dev": "esbuild index.tsx --bundle --watch --serve --outdir=./public/scripts --servedir=./public", "test": "echo \"Error: no test specified\" && exit 1" },