These are chat archives for reactioncommerce/reaction
Unable to resolve some modules: "custom/css/ion.rangeSlider.or.css" in /Users/Aquaboi/git/meru/imports/plugins/included/shipping/client/templates/shipping.js (web.browser)
Which I believe is for "@" in import
While building for web.browser: imports/plugins/included/shipping/client/templates/shipping.js:10:1: Unexpected token (10:1)
There are several examples in that link I sent you. (I was on my phone, so I couldn't write a more thorough answer).
You don’t need to put it in the public folder. That’s for when you want to make it available as a static asset like:
You just want to import it and that can happen from anywhere in the app - including the same folder as your js file that imports it. If you’re in a js file, it’s just:
Or if it’s in the same folder:
imports/plugins/included/shipping/client/templates/shipping.js. Are you? You shouldn’t be. ;)
That’s literally it. Done.
mkdir -p ./imports/plugins/custom/my-plugin/client touch ./imports/plugins/custom/my-plugin/client/styles.css touch ./imports/plugins/custom/my-plugin/client/index.js # add to index.js import "./styles.css";