Skip to content Skip to sidebar Skip to footer
Showing posts with the label Webpack

Importing "regular" Javascript Packages Installed With Npm In Webpack

I've npm installed smooth-scroll, a package which does not support the import syntax. I am sure… Read more Importing "regular" Javascript Packages Installed With Npm In Webpack

Transpiling And Linting Files Outside Of My Root Directory Webpack 4

I'm developing a module that processes files from outside its root directory, so, for example, … Read more Transpiling And Linting Files Outside Of My Root Directory Webpack 4

Create Es6 Module 'equivalent' Using Webpack Output.target Options

Firstly, apologies! I struggled summing up the issue in the title so please feel free to amend. The… Read more Create Es6 Module 'equivalent' Using Webpack Output.target Options

Do I Need Componentwillreceiveprops And Replaceprops When Using Reactjs + Redux?

i'm learning redux along side with react and did a first app to catch a few infos from Destiny … Read more Do I Need Componentwillreceiveprops And Replaceprops When Using Reactjs + Redux?

Writing Tests For Javascript Module Using Webpack's Require.ensure Function

I am running mocha tests on my server, testing source scripts an isolated unit test manner. One of … Read more Writing Tests For Javascript Module Using Webpack's Require.ensure Function

Specify Loader Configuration From Webpack Config File In Request

Question Is possible to specify loader from webpack config file in request by something like alias?… Read more Specify Loader Configuration From Webpack Config File In Request

How Do I Get Winston To Work With Webpack?

I have an electron application which is using node.js. I would like to use Winston for logging in t… Read more How Do I Get Winston To Work With Webpack?

How To Require Tether With Webpack?

I have a webpack application I'm using with laravel elixir. In this application I have a boots… Read more How To Require Tether With Webpack?

Es7 Async Await Functions With Babel-loader Not Working

I'm trying to run async await functions in JavaScript using the babel-loader of webpack. I'… Read more Es7 Async Await Functions With Babel-loader Not Working

After Build Via Webpack 5 App Stoped Working On Internet Explorer (ie11)

As announced in Webpacks 5.0 release blog post build still works in most browsers after a few minor… Read more After Build Via Webpack 5 App Stoped Working On Internet Explorer (ie11)

Which Babel Settings Are Suitable For Exporting A Library?

I am new to Babel+Webpack and have some confusion regarding .babelrc configuration. FIRST CONFIGURA… Read more Which Babel Settings Are Suitable For Exporting A Library?

Pdfmake Use In An Application With Webpack

I'm just going to build an application in Webpack and would like to integrate pdfmake unfortuna… Read more Pdfmake Use In An Application With Webpack

Upgrading From Babel 5.8.35 To 6.0.0 Will Not Compile App.js With A Syntaxerror And Unexpected Token

I am in the process of upgrading all my ReactJS components with webpack. In the process I have not … Read more Upgrading From Babel 5.8.35 To 6.0.0 Will Not Compile App.js With A Syntaxerror And Unexpected Token

Exported Typescript Class Not Included In Webpack Bundle If Not Used Directly

I'm converting a javascript project with Angular 1.x to WebPack and TypeScript (using ts-loader… Read more Exported Typescript Class Not Included In Webpack Bundle If Not Used Directly

How To Create Ie11 Bundles With Webpack 5 And Babel 7

How can we compile modern JavaScript into backwards-compatible JavaScript bundles that can be used … Read more How To Create Ie11 Bundles With Webpack 5 And Babel 7

Migrating From Requirejs To Webpack

I'm migrating/moving a project based on require.js to webpack v3. Since all my modules are usin… Read more Migrating From Requirejs To Webpack

Getting Karma Code Coverage For Pre-transpilation Source Code

I'm using Karma to run tests, webpack to bundle files, and babel for es6 -> es5 transpilatio… Read more Getting Karma Code Coverage For Pre-transpilation Source Code

Error Importing Local Npm Package

We have several websites, each in its own project, and we are looking to migrate them all to using … Read more Error Importing Local Npm Package

How Can I Configure Storybook.js Webpack To Work With Absolute Image Paths In Css Modules In A Next.js Project?

I am trying to configure Storybook to work with Next.js, Ant Design, Less, and TypeScript. In Next.… Read more How Can I Configure Storybook.js Webpack To Work With Absolute Image Paths In Css Modules In A Next.js Project?

Webpack: Getting This Error: Build Failed (from ./node_modules/css-loader/dist/cjs.js):

When running Webpack, I get the following error: ./src/css/main.css 3.62 KiB {0} [not cacheable] [b… Read more Webpack: Getting This Error: Build Failed (from ./node_modules/css-loader/dist/cjs.js):