webpack Questions
3
I am working with Vue.js and try to place some SVG Icons I made in Illustrator for my Webapp. I loaded the icons with Webpacks "require". It is not possible to access the svg's with their source (s...
3
I am getting an error with winston logging if I am using winston-daily-rotate-file.
When I am building my application with webpack there are no errors but when I execute my build below error is com...
5
Solved
Webpack - Error: Cannot find module 'node:assert'
I tried adding "assert" npm package no luck, any one have any ideas on what is throwing the error?
3
I have a host app and few micro front end apps all are angular 15. I've used "@angular-architects/module-federation": "^15.0.3". Everything works fine, except I could not interc...
Adis asked 2/4, 2023 at 12:28
2
Whilst installing packages with Yarn I get the following warning
warning Unmet peer dependency "webpack@1 || 2 || ^2.1.0-beta || ^2.2.0-rc"
Even though I have webpack installed globally.
How do ...
4
I want to do a common thing - include dynamically an svg HTML in Vue Nuxt application which I will able to style. To do this, I created a component but instead of image, I get a text data:image/svg...
5
So i had a bit weird warning from eslint
'./types' is a flow type file.
I think eslint read checkbox as a lowercase while in reality it is Checkbox (capital C).
I try git mv casesensitive tmp &am...
Accrue asked 4/8, 2020 at 20:10
3
Solved
When I try to execute my TypeScript + React Webpack 4 app, the code gets not executed with an error:
Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an ...
Oven asked 5/2, 2019 at 20:44
3
Solved
I have included swagger-ui-express plugin in my node express REST API. While bundling with webpack in production mode, I am receiving as error such as SwaggerUIBundle is not defined. Without webpac...
7
I appreciate your time and help. I spent hours trying to figure this out can't seem to get to the bottom of it.
I have this react component:
import styles from './style.scss';
class ButtonCompon...
Preconcert asked 7/2, 2018 at 23:51
3
Solved
Can anyone say how to add custom font with @react-pdf/pdfkit in react.js?
I tried to use doc.registerFont(path, font_family)
But its showing an error like Unhandled Rejection (Error): fontkit.openS...
3
Solved
I have a website, setup with webpack. I added Font Awesome Pro and configured the global token for it. So the Pro Icons are working.
But some doesn't, like fa-github or fa-twitter. And these are a...
Simplism asked 6/4, 2018 at 7:8
5
Solved
I've read other answers and haven't had any success implementing federated modules with Angular 13. I always get the 'Shared module is not available for eager consumption' message.
TL;DR:
Double-...
3
I have a JavaScript project that is built with Webpack which I know has a lot of dead code files. How can I find source files that aren't used in the project?
Chun asked 20/12, 2017 at 20:20
6
Solved
I recently updated my Node Package Manager in accordance with this post. However, now when I create a new Next.js app and run it using npm run dev, I get the following error:
error - ./node_modules...
Onshore asked 27/7, 2022 at 18:31
1
Problem
I am trying to use image optimization for local files inside the public directory in a SSG Next.js project.
There have been quite a few discussions on Github about introducing the possibili...
None asked 4/3, 2023 at 18:27
2
I have the the following component, imported css and webpack config - clearly I have imported the relevant css module, but the connection between my react output className={css__main.container} and...
Roger asked 21/6, 2018 at 16:11
2
Solved
It's my first time using webpack to compile my scss. I'm trying to start it but I get an error. It says:
Field 'browser' doesn't contain a valid alias configuration
And also:
Module not Found: Err...
1
I need to add a nonce to the inline scripts created by webpack and I can't find any documentation on how to configure this. I've found this pr: https://github.com/webpack/webpack/pull/3210/files bu...
Tress asked 5/12, 2016 at 21:22
4
Solved
I am using webpack which takes regular expressions to feed files into loaders. I want to exclude test files from build, and the test files end with .test.js. So, I am looking for a regular expressi...
Narial asked 11/2, 2017 at 13:42
3
i am trying to create a simple self-hosted TinyMCE with react. Currently my project is just show a simple textarea there is no toolbar or any style. I think a good way to integrate tinymce is by us...
Garrulous asked 21/11, 2020 at 14:2
2
Currently my Angular project uses a custom webpack configuration file.
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"allowedCommonJsDepe...
4
My NextJS application is as follows:
app/page.js
'use client';
import React from 'react';
export default function Home() {
return (<div>Testing</div>);
}
app/layout.js
export const m...
Iscariot asked 5/10, 2023 at 19:13
2
I need to integrate ExtJS WebComponents with Nuxt.js. According to Sencha docs about integrating ExtJS with Vue.js I need to edit src/main.js file this way:
/*global Ext*/
import Vue from 'vue'
im...
2
Solved
Webpack throws errors shown below. The build seems to work, still, what gives?
WARNING in ./{snip}/readme.md
Module parse failed: C:{snip}\readme.md Unexpected token (1:7)
You may need an appropri...
Mogador asked 23/5, 2017 at 10:20
1 Next >
© 2022 - 2024 — McMap. All rights reserved.