Skip to content

Commit eaf20f8

Browse files
committed
Rename engine application js to playground
1 parent 531f86a commit eaf20f8

File tree

9 files changed

+6
-6
lines changed

9 files changed

+6
-6
lines changed

app/views/layouts/playground/editor.html.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<%= csrf_meta_tags %>
66
<%= csp_meta_tag %>
77

8-
<%= javascript_include_tag "playground/application", skip_pipeline: true, nonce: true, media: "all" %>
9-
<%= stylesheet_link_tag "/stylesheets/playground/application", media: "all" %>
8+
<%= javascript_include_tag "playground/playground", skip_pipeline: true, nonce: true, media: "all" %>
9+
<%= stylesheet_link_tag "/stylesheets/playground/playground", media: "all" %>
1010
</head>
1111
<body id="playground">
1212
<%= yield %>

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
},
1414
"scripts": {
1515
"jswatch": "npm run jsbuild -- --watch",
16-
"jsbuild": "esbuild app/assets/javascripts/application.js --bundle --minify --outfile=vendor/javascripts/playground/application.js",
16+
"jsbuild": "esbuild app/assets/javascripts/playground.js --bundle --minify --outfile=vendor/javascripts/playground/playground.js",
1717
"csswatch": "npm run cssbuild -- --watch",
18-
"cssbuild": "sass app/assets/stylesheets/application.scss vendor/stylesheets/playground/application.css"
18+
"cssbuild": "sass app/assets/stylesheets/playground.scss vendor/stylesheets/playground/playground.css"
1919
},
2020
"devDependencies": {
2121
"esbuild": "^0.14.25",

vendor/.DS_Store

-6 KB
Binary file not shown.

vendor/stylesheets/playground/application.css.map

-1
This file was deleted.

vendor/stylesheets/playground/application.css renamed to vendor/stylesheets/playground/playground.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/stylesheets/playground/playground.css.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)