Questions tagged as 'webpack'

1
answer

I'm having trouble with webpack 404 "can not get". What can it be?

Here my config: var path = require('path'); const webpack = require('webpack'); const publicPath = '/dist/assets/'; module.exports = { entry: './src/index.js', devtool: 'cheap-module-source-map', plugins: [ new webpack.HotModu...
asked by 27.07.2017 / 15:16
1
answer

How to configure the webpack file in Laravel?

I'm following several tutorials as you can see below; At 9 minutes and 45 seconds of video. Using Vue.js in a Laravel application At 8 minutes and 12 seconds of the video. 1 - CRUD at LARAVEL & VUEjs - Webpack, Laravel Mix...
asked by 12.10.2017 / 15:39
1
answer

WEBPACK commands do not work

I installed the webpack with the command npm install webpack -g , but when I try to use the webpack -h or any other command of this problem > PS C:\Users\renan\Desktop\Wchat> webpack -h The CLI moved into a > separate pac...
asked by 01.05.2018 / 06:14
1
answer

Start Project Vue from existing template

Is it possible to start a Vue project from an existing template? I want to create a template with all the necessary dependencies and initial settings (as well as pages and etc), so that always, when making a new project, I can start from...
asked by 24.04.2018 / 19:50
1
answer

Webpack + sass generating style.css

Because the webpack at the time of extract in .scss files, it creates the file styles.css in the < strong> dist / css , but it removes the quotes and dots from the path of a photo for example: background: url("../img/back.jpg") . Lea...
asked by 12.02.2018 / 14:08
1
answer

How to use Material Icons with next.js?

import Link from 'next/link'; import MaterialIcon from 'material-icons-react'; const Header = (props) => { return ( <nav> <ul> {navOptions.map(nav => ( <li> <Link href={nav.url...
asked by 21.11.2018 / 06:57
0
answers

Angular Compiler was detected but it was an instance of the wrong class

I was currently working on a project, consuming an api rest from the angular, but in the course, I'm encountering an error that is returning me that I have 2 webpack packages inside my application. I tried to find some solution on the case, b...
asked by 10.09.2018 / 19:22
0
answers

Ignore unit test files using jest and webpack

Talk, guys, I'm having a hard time ignoring my test files when building my application. How do I configure the Web Pack to skip test files?     
asked by 17.08.2018 / 23:53
1
answer

Webpack is generating manifest.js files in a different folder

I'm using the webpack as Vue. When giving npm run build, the manifest.js file is created with the / static / path, while the other files are created with the static path /. So if I put the application in a subfolder, for example, 127.0.0.1/web...
asked by 18.08.2018 / 15:57
1
answer

Angular: Error in system modules

Hello! My application stopped compiling, giving problems in general purpose modules. The crypto module was the first error that appeared, so I looked for a solution to this error. ThesolutionIfoundaltersthewebpack-configbrowser.jsfile.Thecry...
asked by 07.08.2018 / 02:49