Skip to content

Commit

Permalink
netlifycms small fixes + faster build
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-101 committed Sep 13, 2020
1 parent 106debe commit 0d1f478
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ module.exports = {

build: {
extractCSS: false,
html: {
minify: {
minifyCSS: false,
minifyJS: false
}
},
plugins: [
new webpack.ProvidePlugin({
_get: 'lodash/get',
Expand Down
4 changes: 2 additions & 2 deletions static/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
rel="stylesheet"
href="https://unpkg.com/netlify-cms@^2.0.0/dist/cms.css"
/>
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->

<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>

<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
</body>
</html>

0 comments on commit 0d1f478

Please sign in to comment.