Category : webpack

I’m trying to config webpack for a ReactJS app, but I’m stuck with the following error, currently no loaders are configured to process this file. The error: [./src/styles.css] 268 bytes {main} [built] [failed] [1 error] + 325 hidden modules ERROR in ./src/styles.css 1:0 Module parse failed: Unexpected token (1:0) You may need an appropriate loader ..

Read more

I’m getting the above-mentioned error during the build process by AWS CI/CD. However, when I run the production build script locally on my PC, it succeeds without any errors. I noticed that the error is caused by ‘react-bootstrap’ (v0.32.4) but I have absolutely no idea how to fix it. react-bootstrap components are correctly imported and ..

Read more

I am trying to use vuejs-datepicker in a nuxt app, everything is done by nuxt plugin usage standarts. plugins/vue-datepicker.js import Vue from ‘vue’ import Datepicker from ‘vuejs-datepicker’ Vue.component(‘Datepicker’, Datepicker) nuxt.config.js plugins: [ { src: ‘~/plugins/vue-datepicker’, ssr: false } ], But even when it is not used I am getting its dist uploaded in the vendors/app….js ..

Read more