Skip to content

Commit

Permalink
[fix] package.json nuxt/nuxt#9224
Browse files Browse the repository at this point in the history
  • Loading branch information
toshiki-o23 committed May 20, 2021
1 parent 91736a4 commit 413867f
Show file tree
Hide file tree
Showing 3 changed files with 6,953 additions and 7,052 deletions.
2 changes: 2 additions & 0 deletions config/environments/production.rb
Expand Up @@ -27,6 +27,8 @@

# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = true

# https://qiita.com/terufumi1122/items/27bf288414569e13e050
config.assets.js_compressor = Uglifier.new(harmony: true)
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = 'http://assets.example.com'
Expand Down
5 changes: 5 additions & 0 deletions package.json
Expand Up @@ -14,5 +14,10 @@
"version": "0.1.0",
"devDependencies": {
"webpack-dev-server": "^3.11.2"
},
"resolutions": {
"@babel/core": "7.13.15",
"@babel/preset-env": "7.13.15"
}
}

0 comments on commit 413867f

Please sign in to comment.