検証ツールのconsole内でHello World from Webpackerが表示されているのですが、この削除方法を教えていただきたいです。
以前勘違いをして、webpackerをインストールしたのですが、そのwebpackerを削除しようとconsole.logの記述のあるファイルを削除したのですが、タイトルにある記述が消えません。
キャッシュを削除したりもしてみましたが、解消できませんでした。
installした際のことを思い出せないとuninstallできないのでしょうか。
app/js/packs/application.js
ruby
1// This file is automatically compiled by Webpack, along with any other files 2// present in this directory. You're encouraged to place your actual application logic in 3// a relevant structure within app/javascript and only use these pack files to reference 4// that code so it'll be compiled. 5 6require("@rails/ujs").start() 7require("@rails/activestorage").start() 8require("channels") 9 10require('./preview') 11 12 13// Uncomment to copy all static images under ../images to the output folder and reference 14// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>) 15// or the `imagePath` JavaScript helper below. 16// 17// const images = require.context('../images', true) 18// const imagePath = (name) => images(name, true) 19//= require jquery_ujs
ご教授のほどよろしくお願いいたします。
あなたの回答
tips
プレビュー