diff --git a/.circleci/config.yml b/.circleci/config.yml index dcc2c81c..7b5ecd2b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,6 +16,7 @@ jobs: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: yarn test + - run: yarn build - run: name: Collect test coverage command: yarn coveralls diff --git a/.gitignore b/.gitignore index cbdfdc2c..53f6701e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ -/coverage \ No newline at end of file +/coverage +/dist diff --git a/webpack.config.js b/webpack.config.js index fc11d1da..dad9593c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,4 +1,6 @@ +const path = require('path'); const HtmlWebPackPlugin = require("html-webpack-plugin"); +const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const htmlPlugin = new HtmlWebPackPlugin({ template: "./src/index.html",