Questions tagged as 'webpack'

1
answer

PropTypes in React, it's not working

First, I had already used the prop-types package before to validate arguments in React components, but in a project in I do not know why it is not working and I have it set as usual. Use WebPack for the bundle and the test server (webp...
asked by 22.06.2017 / 14:16
1
answer

how to include jquery in webpack?

I do not know how to do it and I already followed several explanations that I found on the web and none of them work for me. I'm using vue-cli that works with webpack . try this: plugins:[ new webpack.ProvidePlugin({ jQue...
asked by 28.03.2017 / 20:36
0
answers

Webpack = Move my index.html, add it to a folder

I am a frontend developer, and I am implementing webpack to improve a bit a web app that I am doing in react js. But I have a problem = > When I configure my webpack in the parameter publicPath: path.resolve(__dirname, "dist") + "/"...
asked by 28.09.2018 / 16:16
0
answers

Error in the modules when configuring a webpack with ReactJs

I have an error when configuring a webpack with Reactjs. I get this error that is below and would like an explanation. The error that comes to me in the terminal is the following: ERROR in Entry module not found: Error: Can't resolve 'C:\re...
asked by 22.09.2018 / 04:26
0
answers

My index.html file can not find the bundle.js file

I'm using the html-webpack-plugin plugins to automatically generate my index.html This is the structure of the project App/ |__webpack |__ webpack-config.js |__public |__src |__main.js |__template.html and this is my webpack con...
asked by 07.09.2018 / 19:46
0
answers

Error: EACCES, open '/components/scholarshipr-card.html' '

The webpack can not be executed in my project, because it modifies a module and no longer shows me this error. This is the error I'm receiving: Module build failed: Error: EACCES: permission denied, open This is the webpack configuration f...
asked by 31.08.2018 / 18:38
1
answer

load vue component in modal bootstrap

Hello I have a component in vue I am using rails 5, turbolink 5 and webpack. If the component is placed directly on the page where the renderer makes a path, for example new.html.erb, the component loads But if I want to show that component i...
asked by 23.06.2018 / 04:54
0
answers

How to configure the Angular Automatic Test with Karma Jasmine and Webpack

I wanted to know how I can configure the tests of an app developed with Angular. Because it does not use angular-cli, but the configuration of the app is done completely through webpack, where it has configured the routes management with the ang...
asked by 29.05.2018 / 02:32
0
answers

Problems with webpack

saludes structure a project with babel, sass and gulp at the time of packaging I receive this error . I'm on Ubuntu 18. node: v9.8.0 gulp-cli: 2.0.1 then I show the dependencies of the project "devDependencies": { "babel-cli":...
asked by 07.05.2018 / 22:03
1
answer

webpack sass generated file

I am compiling my SASS files with webpack, however the result of this file is a javascript file, is it possible that the output instead of being a javascript is a css file? My webpack.config.js {...
asked by 23.04.2018 / 19:19