Questions tagged as 'webpack'

1
answer

Webpack ReactJS

I'm experiencing problems with my webpack, I get the following error in the terminal: You may need an appropriate loader to handle this file type webpack.config.js: var path = require('path'); var webpack = require('webpack'); var DIS...
asked by 26.11.2017 / 17:14
0
answers

Error loading fonts in Vue build (Webpack)

I'm doing build of my project, and the whole system is loading, minus the sources of iview , in mode dev everything works perfectly, but when generating build the fonts get some < strong> squares and in console...
asked by 07.12.2017 / 13:42
1
answer

webpack localhost / sockjs.js.map not found

I have the following error regarding socks.js.map, can anyone help me?    Failed to load resource: the server responded with a status of 404   (Not Found) I installed the latest version of the webpack and webpack-dev-server and configured...
asked by 15.11.2017 / 19:37
0
answers

Minify the code generated by the webpack using gulp

This is the JavaScript task of my gulpfile.js : gulp.task('js', function () { gulp.src('_front-end/js/index.js') .pipe(babel({ presets: ['env'] })) .pipe(webpack({ output: { filename: 'all.js' }})) .pipe(gulp.dest('_front...
asked by 28.10.2017 / 22:17
1
answer

Using multiple files js Vue in Laravel

I am using Laravel v5.5 to start a personal project and I will use Vue.js, I did not find a very didactic content on the internet, how do I use other .js files? example: /js/login.js for login /js/dashboard.js for the dashboard Do I need t...
asked by 16.09.2017 / 01:22
0
answers

How to run webpack + ReactJS without node.js on client-side?

Is it possible to run the webpack transpiler on the client side without installing and running it on a Node.js server? Currently I am trying to implement a SPA application using React 15.1.0 integrated with Babel-core 5.8.23. But my server-si...
asked by 24.07.2017 / 08:31
2
answers

How to use ancora in vuejs / vue-loader?

I'm creating a project with vuejs webpack (vue-loader) and recently I came across a problem, I can not anchor any tags, because vue understands that when using hash #, you are wanting to direct to a route ... Anyone know how to solve this? I...
asked by 07.05.2017 / 07:11
1
answer

Why use a packager like WebPack?

I was talking to a friend about the flash and how all code is compiled into a single file and "zapped" on the "1tera" that the user has to download, of course, exaggerating ... But then a question arose: What is the advantage of using WebPac...
asked by 23.11.2018 / 03:26