Skip to content

Commit

Permalink
Build optimization (#953)
Browse files Browse the repository at this point in the history
* Update supported browsers

* Update gitignore

* Update vue-loader and add dev pkgs

* Use babel plugin

* Update webpack config + measue build time

* Revert parallel true config

* Remove speed analysis

* Remove install husky on prepare

* Cleanup vue config

* fix: Re-introduce prepare command but prevent running husky install in builds

* Try turning parallel option back on after updating vue-loader

* fix: Looks like parallel = false is no longer required

* Move tailwind deps to dev deps

* Remove storybook references

* npm install forced
  • Loading branch information
garethfuller authored Oct 20, 2021
1 parent 7fc9a65 commit 85aa581
Show file tree
Hide file tree
Showing 10 changed files with 15,837 additions and 30,687 deletions.
6 changes: 3 additions & 3 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
> 1%
last 2 versions
not dead
defaults
not IE 11
maintained node versions
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules
/tailwind-static

# local env files
.env
.env.local
.env.*.local

Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,3 @@ The app is using [Tailwind](https://tailwindcss.com/) to configure base styles.
npm run tailwind-viewer
```
Your browser should load the app at [http://localhost:3000](http://localhost:3000).

### Component Library
We are using [Storybook](https://storybook.js.org/) to document our commonly used components. You can browse the component library in development by running:

```bash
npm run storybook
```
Your browser should load the app at [http://localhost:6006](http://localhost:6006).
3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
presets: ['@vue/cli-plugin-babel/preset']
presets: ['@vue/cli-plugin-babel/preset'],
plugins: ['@babel/plugin-proposal-numeric-separator']
};
Loading

4 comments on commit 85aa581

@vercel
Copy link

@vercel vercel bot commented on 85aa581 Oct 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 85aa581 Oct 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 85aa581 Oct 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 85aa581 Oct 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.