Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
119 views

enter image description here What I tried: Updated to Expo 53 and React Native 0.79. Added babel-loader to webpack.config.js to transpile @ui-kitten/components and react-native modules. Set up babel....
Sukh Dev's user avatar
0 votes
1 answer
49 views

I'm having difficulty incorporating Typescript to my JS project which uses webpack. Here is my webpack.config.js: const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin"); const ...
user6118986's user avatar
0 votes
1 answer
290 views

I am trying to set up a webpack build pipeline using typescript. I want to set up separate development and production builds as per the documentation: https://webpack.js.org/guides/production/#setup I ...
Steven Parrill's user avatar
0 votes
1 answer
64 views

The Config file : /\*\* @type {import('tailwindcss').Config} */ module.exports = { content:["./TAILWIND/dist/*.hrtml"], theme: { extend:{}, }, plugins:[], } The Code i ran in terminal : npx ...
MAxX's user avatar
  • 1
1 vote
1 answer
102 views

enter image description hereI am new to Web 3.0 programming. I was making an app for crypto token creation. while I was running the application, it was giving an error can't resolve: ./token.did.js' ...
ankit's user avatar
  • 11
1 vote
1 answer
2k views

Here's the full error: ERROR in ./src/Component/logos.html 1:0 Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type, currently no loaders are ...
Lance F's user avatar
  • 11
1 vote
2 answers
970 views

My program is typescript + three.js + vue3 + vite . My operation is as follows: // terminal npm i opencascade.js@beta npm i vite-plugin-wasm // vite.config.js import { defineConfig } from 'vite' ...
Tom Lee's user avatar
  • 11
0 votes
1 answer
171 views

I made new Javascript library with Webpack. I want to import class from this library directly. However, I need to put '.default' to run MyClass. I don't want to use '.default'. I just want to use ...
JAE L's user avatar
  • 11
0 votes
1 answer
1k views

I am trying to deploy my first canister on the internet computer for an online class I am taking. Once I issue the command "dfx deploy --network ic" in the terminal I receive this output ...
mrbrianpw's user avatar
0 votes
0 answers
244 views

My goal is to change svgo module's config the way that it does not remove id tags from svg file while importing it. I have App.js: import React from 'react'; import logo from './logo.svg'; import './...
Janne Sopanen's user avatar
0 votes
0 answers
117 views

Error 1 | // extracted by mini-css-extract-plugin 2 | export default {"lala":"hQupzgS9tEJmjp6wWbAk"}; (lala is classname) CSS modules is working fine and changes are reflecting ...
Vishwesh Bajpai's user avatar
1 vote
0 answers
37 views

Inside webpack.config.js, i updated bundle.js name as following output: { path: path.resolve(__dirname, "../dist/"), publicPath: "auto", filename: "[name].[...
Ali Raza's user avatar
1 vote
0 answers
28 views

I am trying to get benchmark results of a loop used and display it. My code: import Benchmark from 'benchmark'; import React, { useState } from 'react'; import Navigation from '../Navigation/...
Bhavesh Kumar Sharma's user avatar
3 votes
0 answers
641 views

I am using webpack, yarn, react from scratch, and tailwind. In dev mode everything works, but in production mode my app won't load tailwind css styles at all. I can't get the scripts to work in my ...
Milenija Jovicic's user avatar
0 votes
0 answers
81 views

I want Angular(v.13) can initialise and handle routing instead of trying to handle it on the server. I've searched "Update webpack dev server config" which tells the webpack dev server to ...
mac's user avatar
  • 1
0 votes
1 answer
604 views

This simple hook is supposed to return the window width and height. I made this hook in a project where I used CRA where I faced no issues. In the current project, i have not used CRA in order to get ...
paveilleux's user avatar
1 vote
1 answer
738 views

So im using terraform to create an atlas cluster but the output im getting is incompleteate to do my request terraform is givim me this: mongodb+srv://esc-app-dbcluster-devel.b59mwv7.mongodb.net and ...
randomuser's user avatar
0 votes
1 answer
345 views

I have no idea anymore. After updating node.js and webpack, I cannot set reload devServer. I try with: mode: "development", static: hot: true and a few more things from google. What am I ...
kamill's user avatar
  • 1
8 votes
3 answers
22k views

I'm getting this error: If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-...
Raphael10's user avatar
  • 3,246
3 votes
1 answer
2k views

I'm trying to convert into pure ESM the webpack.config.js import path from 'path' import {fileURLToPath} from 'url' import HtmlWebpackPlugin from 'html-webpack-plugin' import CopyPlugin from 'copy-...
Raphael10's user avatar
  • 3,246
1 vote
0 answers
442 views

I'm trying, without success so far, to load postcss , .pcss files with webpack Packages installed : "postcss": "^8.4.13", "postcss-flexbugs-fixes": "^5.0.2", &...
Raphael10's user avatar
  • 3,246
2 votes
2 answers
1k views

I have created a Angular project to call the microfrontend from other running angular project. I have import the module in my app by using webpack.config.js. It is working well locally but failed on ...
Ashif Sayyad's user avatar
4 votes
0 answers
690 views

I am beginner to react js. Please someone provide input for below issue. In local system react js application is working fine but when i am generating build from Jenkins compilation is failing and ...
Aks's user avatar
  • 506
11 votes
1 answer
18k views

I'm running into an error on Windows 10 whenever I try to run webpack, it works fine on macOS. This is the error [webpack-cli] HookWebpackError: Not supported It runs fine without "CopyPlugin&...
ezypx's user avatar
  • 113
4 votes
1 answer
1k views

I need to use react native web maps in react native project , i'm using expo and need to alias package in my webpack.config.js i want to use both ios/web version for my map. I m fairly new to ...
Sahaj Arya's user avatar
1 vote
0 answers
971 views

I am working on react application where I have used react google charts for displaying Line chart with annotation. But I am getting an issue with role attribute for column in Line chart, have already ...
techV's user avatar
  • 935
0 votes
1 answer
2k views

I have a question regarding webpack config files. I'm new at this technology. So far everything was working well until I changed the name of the webpack.config.js file to webpack.dev.js. Now the js in ...
Mln954's user avatar
  • 57
0 votes
1 answer
800 views

I am using the new asset module instead of loader-file but I have a problem because it creates two folders. It seems that is a easy stuff but I spent a lot of time searching and I can't get any ...
Angel Astorga's user avatar
1 vote
2 answers
2k views

With this simple vue page: <template> <div class="home"> <HelloWorld msg="Welcome to Your Vue.js App"/> </div> </template> <script> ...
user2315094's user avatar
0 votes
0 answers
16 views

why am I getting an error while accessing CSS modules such as localIdentName in my webpack.config.js? and why am I not getting separate production and development webpack in my react app? The initial ...
keshav bhattarai's user avatar
4 votes
1 answer
2k views

My project uses typescript and built with webpack. I have a typings file that comes from a third part lib located under node_modules/@types/libname/custom.d.ts. That file has a namespace declaration ...
Edy Bourne's user avatar
  • 6,306
3 votes
0 answers
2k views

I have an vue.js application that won't auto refresh when I run 'npm run dev' - the application will only update when I run 'npm run build'. The application will start when I run npm run dev but it ...
user217nat's user avatar
0 votes
1 answer
79 views

We are not importing this object anywhere so I am wondering why do we export it ? Thank you for your willingness to help !
lk1993's user avatar
  • 1
0 votes
0 answers
162 views

I have set up a small project with Vue CLI and upload the built dist folder to my server. In the live version I can see all the .vue and .js files. I wonder how Webpacks can make my files unreadable?...
wittgenstein's user avatar
  • 4,600
0 votes
1 answer
572 views

I'm trying to use the $.getJSON() function in javascript but I get this error: "You may need an appropriate loader to handle this file type, currently no loaders are configured to process this ...
A.Vandijck's user avatar
2 votes
1 answer
3k views

I'm trying to build static html pages with webpack 4. I'm using html-webpack-plugin. I want to define some header.html and footer.html and import them later in all html pages. But I want also then my ...
Pavel Kizernis's user avatar
3 votes
0 answers
384 views

I;m beginner to nativescript-vue. When i initiate my project with following command tns run android it will occur below error The webpack configuration file /home/camilus/laravel/vue-native/drawer/...
NIroshan Fernando's user avatar
2 votes
0 answers
104 views

I'm using Webpack 4 in a Multi Page Application. When in development mode: Each page have some common third-party libraries (loaded via <script> tag) plus a custom .js file per-page (entry ...
Barleby's user avatar
  • 698
0 votes
1 answer
1k views

I am currently trying to add Google oauth to a React App I am creating. However I am running into a problem. I have defined some variables in my webpack but when I add them to my react code they are ...
krichey15's user avatar
  • 689
0 votes
1 answer
590 views

Cannot build production mode due to configuration object that does not match the API schema. The error happened after updating [email protected] to version [email protected]. I updated the webpack version ...
kaizen's user avatar
  • 1,648
0 votes
0 answers
469 views

What I'm trying to achieve is to use dynamically created object in webpack config in a typescript script project (that uses esnext module syntax like import, export, dynamic import()) i.e. something ...
barath's user avatar
  • 862
1 vote
0 answers
247 views

I've built my application with create-react-app, and to make it work I have to add { test: /node_modules.+js$/, loader: require.resolve("ify-loader"), }, to the module.rules ...
Snorlite's user avatar
  • 327
0 votes
1 answer
94 views

Actually,I don't know how to explain my question.At beginning,I come across some problem when I add resolve.alias to my webpack output modules———it doesn't work after my adding!then I found there're ...
Corleone XIAO's user avatar
0 votes
2 answers
893 views

I have the following webpack config and everything works perfectly: module: { rules: [ { test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/, ...
P A S H's user avatar
  • 526
-3 votes
1 answer
110 views

I am new to reactjs. i am trying to write webpack. const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './main.js', output: { path: ...
Thriveni's user avatar
  • 4,223
0 votes
1 answer
1k views

I am working on the cutecats tutorial and have trouble while integrating vue+django. I get no errors on compilation, the bundle.js is created and I can see it in my IDE, but the bundle returns a 404 ...
KBV's user avatar
  • 1
1 vote
1 answer
2k views

In my react.js app I am trying to use an external module (React Toastify) using the following statement: import { ToastContainer, toast } from 'react-toastify'; import 'react-toastify/dist/...
Vonder's user avatar
  • 4,063
0 votes
1 answer
1k views

Terminal: Version: webpack 4.28.3 Time: 940ms Built at: 02/19/2019 10:11:22 PM 1 asset Entrypoint app = bundle.js [0] ./client/src/index.js 4.6 KiB {0} [built] [failed] [1 error] WARNING in ...
user8184945's user avatar
2 votes
2 answers
1k views

I'm can't preserve folder structure for my output bundles. I tried to use [path] placeholder but it doesn't work. There is similar thread but it does not answer my question. I'm using: Webpack 4.28....
Jaroslaw Bagnicki's user avatar
2 votes
0 answers
203 views

ERROR in Error: Child compilation failed: Entry module not found: Error: Can't resolve '/Users/MarkPierre/Desktop/es6-project-2019/src/index.html' in '/Users/MarkPierre/Desktop/es6-project-2019'...
Pierre's user avatar
  • 21