Closed Overload119 closed 1 year ago
I managed to fix this by referencing the .erb
part directly and adding the resolve statement in my config.
.erb
in the Webpacker config:
extensions: [".scss", ".css", ".ts", ".tsx", ".png", ".erb"],
import PROPOSAL_STATUSES, { PROPOSAL_STATUS_TO_TAB } from "./proposalStatuses.js.erb";
I'd like to use this gem. Any got it working with Shakapacker?
Unfortunately adding the installation instructions doesn't work.
I've renamed the file:
app/client/src/constants/proposalStatuses.js.erb
But I get: