Skip to content

Commit

Permalink
dehobble assets by unsetting public path
Browse files Browse the repository at this point in the history
  • Loading branch information
fcheung committed Jun 11, 2023
1 parent a82339f commit c94cc92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
# Suppress logger output for asset requests.
config.assets.quiet = true

config.assets.debug = false

# Raises error for missing translations.
# config.i18n.raise_on_missing_translations = true

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"typescript": "^5.1.3"
},
"scripts": {
"build": "esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=assets",
"build": "esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds",
"typescript-check": "tsc --pretty --noEmit"
},
"devDependencies": {
Expand Down

0 comments on commit c94cc92

Please sign in to comment.