When running Karma with autoWatch: true and singleRun: false, any change to my unit test files causes the tests to be re-run, and refreshes the Karma webpage at
Following the docs here (Building for Relative Paths), so setting homepage field in package.json doesn't set PUBLIC_URL during the build. Expected behavior %P
I' am using Webpack-4. Current behavior is that when webpack-dev-server is running, files under /build not get updated at all and it is showing the file directo
I've got a scripts "build": "rimraf dist webpack --progress --config webpack/prod.js", But actually,it removed not dist but all file inside webpack folder. But
I got Webpack up and running and now I'd like to split my code into separate files. Lets say I have this code in a separate file: handlebarHelpers.js handleb
Attempt to import web3 into App.js gives me 9 errors import React from "react"; import Web3 from "web3"; function App() { return ( <div className="App
I have the following webpack config: var path = require('path') var webpack = require('webpack') module.exports = { entry: { main: './scripts/app/ma
Gulp + live reload serves up my content on localhost and (here's what I'm after) launches the browser automatically at the server url whenever i run the gulp co
When trying using Monaco Editor in case of using Webpack, codicons are not loaded. I used the monaco-editor-webpack-plugin and followed the instruction, but cur
I'm looking for what ultimately would be a Webpack equivalent to Require.JS's has.js integration. In Require.JS you can compile different code paths based on a
Webpack/PostCSS is unable to process .pcss files which have inline comments: Module build failed: Syntax Error (77:5) Unknown word > 77 | // }
I described in Dockerfile the command to execute npm script: WORKDIR /usr/src/app/server CMD ["npm", "run", "build"] It's just a webpack script which build my
I can get the relative file path with __filename, and sure I could hack it apart to get just the basename with some JS-fu, but I want to do this at compile-time
I'm trying to install tailwind css from this guide into an existing laravel/vue project, which uses scss. install packages yarn add -D tailwindcss@latest postcs
I have an angular project with manual setup (no angular-cli) and configured the build to generate multiple html files using HTML Webpack Plugin. Now, I am plann
I'm using Babel and Webpack to generate ES5 code from ES6. There are some validations that is used to reduce the mistakes i do while coding. class Logger {
I have been following the react setup instructions on codecademy: When I type in "npm run build" into the terminal I get this error: I can't seem to figure out
I want to use CopyWebpackPlugin to copy all the files from a public/ directory to the dist/ directory. However, I need to set my output path as dist/ earlier in
I am trying to use formulja.js in a Vue project. When I import it and try to use PPMT function I am getting this error. I can't define what the error is and how
I have a project that uses Webpack 4. I use file-loader to handle images in html and fonts in the styles. But for the images, file-loader creates the image in d