Skip to content

Commit

Permalink
update webpacker
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Feb 18, 2024
1 parent 3a61256 commit 14716ef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
13 changes: 1 addition & 12 deletions app/javascript/packs/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,4 @@
// const images = require.context('../images', true)
// const imagePath = (name) => images(name, true)

//console.log('Hello World from Webpacker')

import Rails from "@rails/ujs"
import * as ActiveStorage from "@rails/activestorage"
import "channels"
import "jquery"
import $ from 'jquery'
global.$ = $
global.jQuery = $

Rails.start()
ActiveStorage.start()
console.log('Hello World from Webpacker')
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enju_leaf",
"private": true,
"dependencies": {
"@rails/webpacker": "5.4.3",
"@rails/webpacker": "5.4.4",
"mirador": "^3.3.0",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1151,10 +1151,10 @@
mkdirp "^1.0.4"
rimraf "^3.0.2"

"@rails/webpacker@5.4.3":
version "5.4.3"
resolved "https://registry.yarnpkg.com/@rails/webpacker/-/webpacker-5.4.3.tgz#cfe2d8faffe7db5001bad50a1534408b4f2efb2f"
integrity sha512-tEM8tpUtfx6FxKwcuQ9+v6pzgqM5LeAdhT6IJ4Te3BPKFO1xrGrXugqeRuZ+gE8ASDZRTOK6yuQkapOpuX5JdA==
"@rails/webpacker@5.4.4":
version "5.4.4"
resolved "https://registry.yarnpkg.com/@rails/webpacker/-/webpacker-5.4.4.tgz#971a41b987c096c908ce4088accd57c1a9a7e2f7"
integrity sha512-hp9myb2MChYFPfE5Fd/3gF4q2m4wpxC+WWCkxcg6My3HYCptWuqMVXRwrBZ5EJHYiL/WRyMLvVNWwlFV47xhUw==
dependencies:
"@babel/core" "^7.15.0"
"@babel/plugin-proposal-class-properties" "^7.14.5"
Expand Down

0 comments on commit 14716ef

Please sign in to comment.