Questions tagged as 'webpack'

1
answer

Performance Webpack Build.js

I'm starting with Webpack. It compiles all javascript and css files into a single file Build.js , Bundle.js , whatever ... In the end it generates a fully mined file using the Production Node command, but it nevertheless gener...
asked by 20.10.2017 / 21:03
1
answer

How to disable XHR messages from loading in production

I have a system developed in Angular language in version 4. The system that generates application build in production is the webpack. The following starter is used as the base: angular 4 webpack starter The system is finished, but has the foll...
asked by 04.10.2017 / 15:35
1
answer

Concatenate multiple sass / css files in a single final css

I'm using laravel 5.4, which by default brings a webpack.mix.js file which will be the files to be concatenated and their destination. My problem is concatenating scss files with css , what I have in webpack.mix.js...
asked by 23.08.2017 / 19:09
0
answers

vue-html-loader (Webpack + Vue-loader) does not find the images in the root folder

I'm having difficulty attaching the images contained in src of HTML5 within a route made in vue-router , since Webpack does not find the image that is in the root of the project, / p> C:. | index.html | gulpfile.j...
asked by 11.08.2016 / 05:00
1
answer

script import in the wrong order, function not defined

I have a component vue ( Map.vue ): <template> ... </template> <script> import '../../assets/js/map.js' export default { name: 'home', data () { return { init_data: {}, } },...
asked by 29.06.2017 / 13:50
1
answer

Webpack Minification Optimization

I'm starting with Webpack and I'm learning how to tweak Config of it, and I saw some of the documentation dealing with Resolve.extentions , you can hide the extensions. But it came to my mind: In my imports I put for example: import...
asked by 19.10.2017 / 18:32
1
answer

WebPack + NodeJS import bootstrap + jquery

Hello, everyone at Stackoverflow, I have a VueJS project already with Webpack. And I've been importing the JQuery and Bootstrap libraries. I went to my node and used the commands npm install jquery --save-dev npm install bootstrap --save-de...
asked by 20.09.2017 / 15:56
2
answers

Webpack not updating bundle.js

I'm new to this React and Webpack stuff, and I'm studying hard, but I came up with a problem that I'm not finding a way to solve. const webpack = require('webpack') module.exports = { entry: './html/js/index.jsx', output: { pa...
asked by 29.05.2017 / 17:39
1
answer

Production vs. Development - WEBPACK

I would like to know the difference between the "development" and "production" modes within Webpack4.     
asked by 30.05.2018 / 21:16
1
answer

Create component to be used via npm

I started working a lot with vue and started using it on all the projects in the company where I work. And with that, I ended up creating some componentes , in general autocomplete , I know that there are many, I have already...
asked by 11.12.2017 / 14:35