Categories
Development

React Development and Build version not working in IE 11 and Edge – Webpack/Babel

Development and build version not working in IE 11 and Edge. Here are my webpack config and package json file. I have used below repo. https://github.com/kriasoft/react-starter-kit I have been trying to fix this issue using various babel packages and webpack configurations. Arrow function seems not to be working. Here’s the error. webpack.config.js /** * React […]

Categories
Development

“An accessor cannot be declared in an ambient context.” in a custom library

I have a webpack, typescript project (A) which emits a small library. The library is used in an angular 8 project (B). In project A I declare a class like: export class Foo { private foo: string; constructor(foo: string) { this.foo = foo; } } export class Bar extends Foo { private bla: string; constructor(foo: […]

Categories
CSS Development

Next.js + Webpack: Struggling to import 3rd party SCSS into project

I am attempting to use this cool React Button Component inside my project but I do not understand where I am going wrong and how my Webpack isn’t working. Please could you help! I am also new at Webpack and I would appreciate it if you could point me in the right direction. Much Thanks […]