Questions tagged as 'webpack'

1
answer

Aot with webpack error when compiling in universal angular

I have some problems to compile with aot, I am using an angular-universal repo link the compilation of aot with npm run build: aot works perfectly with the initial repo, I have another own repository, in which I try to adapt this, when I ad...
asked by 21.05.2017 / 07:21
0
answers

Webpack Dev Proxy server does not redirect to my api backend

I'm trying to redirect the routes " link " to " link " where an Apache server runs. This is my webpack dev server configuration: devServer: { publicPath: '/build/', port: 3000, proxy: { '/api': { target: 'h...
asked by 05.05.2017 / 20:19
0
answers

import "something" from 'parent-directory / myfile.js "

I need to import my db.js file from a higher directory, I do not know how to do it and I can not find information on the Internet. What I want is something like this: import db from './db'     
asked by 31.05.2017 / 10:21
1
answer

Error importing js into webpack (vue-cli)

When I try to import the store.js script, I get the error of the image. I'm using Vue-cli with Vue-router and Vuex. It is a clean installation after installing vue-cli install vuex. this is the webpack.base.conf.js configuration...
asked by 02.04.2017 / 23:41
2
answers

Weight problem compiling with WebPack

Friends, I'm working on an application with ReactJS using es6. I started using browserify for the conversion and compilation of es6 to es5. But I realized that my "bundle" file after the transformation weighs 1.3mb, which is logically too much...
asked by 05.02.2017 / 15:30
1
answer

Problems with reactive images and webpack

I am learning reactjs and I want to know how to render an image with webpack and react That's my loader and here I try to render     
asked by 13.11.2017 / 07:57