Category "webpack"

Obscurify react code in production by automatically changing all the function and variable names

Are there any libs that help obscurify a react build for production? Something like: const MyComp = () = > { const {propa, propb} = useMyfunc() return(...)

Module build failed (from ./node_modules/html-loader/dist/cjs.js):

I'm trying to make a quick-start for ava electron webpack and three but something went wrong in that process. here is the repository of the project : https://

How fix "BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default" error?

I want use "web3" and "walletconnect/web3-provider" package on vue & laravel 8. I install it by npm i --save web3 @walletconnect/web3-provider command and a

Error: Cannot find module 'html-webpack-plugin' - Webpack (React)

I tried to create a basic React app with webpack 4 following this link until installing "html-webpack-plugin", I did not face any errors. But, once I run the c

Fail to compile webpack when I run ruby server

I have try to run my ruby server and I got this error : [Webpacker] Compiling... [Webpacker] Compilation failed: /var/lib/gems/2.7.0/gems/webpacker-5.2.1/lib/we

Module parse failed for wasm module generated by rust wasm-pack

I have been following this tutorial: https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm in order to build a Rust library and use it in a VueJS pr

How to ignore typescript errors when compile by webpack production mode

environment webpack 4.41.2 typescript 3.7.2 problem When I compile files by webpack development mode, there is no problem. But when I compile by production

Angular 4 AOT with webpack integration

After configure AOT with webpack in angular 4, i am facing following issue ERROR in : "let-" is only supported on ng-template elements. ("<template ngFor [

Webpack alias is not recognized by flow

I'm having some trouble with webpack aliases and having it play nicely with flow. I have the alias: alias: { vue$: 'vue/dist/vue.esm.js', pu

Angular application throwing "inline style..." error due to CSP response header configured on server

I am working on an angular application.I am working in angular 8 application with CLI.My application is running on local server without any failure. On deployi

Unable to build the graylog web plugin using "mvn package"

I have downloaded the latest version of plugin and trying to build it using "mvn package" command. I am getting below error. Please help me to resolve the issue

Error - node_modules : Callback was already called

I am building SSR rendered Gatsby react application and I get the following error while doing "gatsby build". Been searching for a solution for this error for a

React router with basename and webpack initial url

Hello i am stuck with this one and couldnt figure it out. So i have React router v6 with basename - "/ui/" , and i want that when i open localhost:8080 that it

Inject CSS styles inside of the shadow-root instead of the head tag | Vue.js & Webpack

I'm making an embeddable widget for websites using Vue.js and vue-custom-element. Everything was going smoothly until I ran into a problem. When I'm trying to u

Why Laravel Mix deletes CSS @import url()

I'm using Laravel Mix, and when I run npm run dev, everything is good, but when I run npm run prod, in minified style.css, all @import url()s get deleted! Webpa

Importing slick carousel theme css throws errors on webpack build

I'm trying to import slick-theme.scss in my parent scss as @import "../node_modules/slick-carousel/slick/slick-theme.css"; but during bundle, I get errors on

How to run nextjs dev server with the config from another project?

I develop a nextjs application. Inside the root folder, I've made landing/pages/ folder and I want to run dev server with those pages using next dev ./landing.

Can you compile a TS file with webpack separately from Vue application?

So I have a Vue 3 + Typescript app. npm run build of course takes the app and compiles it into the dist folder so it can be deployed. I have a web worker typesc

How to auto-refresh the browser on .ejs changes when using express + webpack middlewares?

I have set up a server using express and the webpack-dev-middleware and webpack-hot-middleware that is currently accepting module replacements for the .js files

How to solve this error: "internal/modules/cjs/loader.js:638 throw err; ^"

I want to run my Vue.js using npm on localhost:8080 but they give me this error. Is there a way to solve this issue? This error only occurs when I tried to inst