joaquiboy17
Forum Replies Created
-
hi @howarddc Good Day, I already include @popperjs/core in my understrap bootstrap. js understrap/js/bootstrap.js. under export I added the createPopper. after I run the npm run dist this is the error the I’ve got “popper is not defined”.
Thanks
@howarddc In short . Is there any way to import the new @corepopper.js in rollup config file?
Hi @howarddc , I already updated my understrap theme js from bootstrap 4 to bootstrap 5. base on this https://stackoverflow.com/questions/57459917/how-to-fix-this-error-module-not-found-cant-resolve-popper-js , that bootstrap 5 is now using “Popper.js Core” not popper.js I already updated my popper.js and also imported it to understrap bootstrap.js https://www.npmjs.com/package/@popperjs/core. why I still received an error that it said “popper is undefined”when I tried to run the npm run dist CLI then check it in my console” is there a problem with my rollup.config.js? since understrap used it as to compile the js file. and how it will be included in the rollup and compiled JS file ?
thanks
- This reply was modified 3 years, 4 months ago by joaquiboy17.
@howarddc thanks for the confirmation. that’s what the output of my testing.
and as what I test also if I change the option to true nothing happens. is it necessary or we just leave it to false as default?module.exports = ctx => { return { map: ctx.file.dirname.includes('examples') ? false :
- This reply was modified 3 years, 4 months ago by joaquiboy17.
- This reply was modified 3 years, 4 months ago by joaquiboy17.
Hi @howarddc Thank you for this, I think this is the answer we are looking for.
- This reply was modified 3 years, 4 months ago by joaquiboy17.
- This reply was modified 3 years, 4 months ago by joaquiboy17.
- This reply was modified 3 years, 4 months ago by joaquiboy17.
Hi @howarddc is it possible if I change the ‘examples’ into the existing directory eg. /CSS Folder directory, and what is the possible output if I run the css-postcss CLI? Thanks.
- This reply was modified 3 years, 4 months ago by joaquiboy17.