Questions tagged as 'webpack'

0
answers

ts-checker-webpack-plugin can not find a custom tslint rule written in TypeScript

I have a TypeScript project with Webpack with the following in package.json "ts-checker-webpack-plugin": "^0.3.0", "tslint": "^5.9.1", "typescript": "^2.8.3", I also have a custom tslint rule made in TypeScript that is compiled by...
asked by 30.04.2018 / 00:36
2
answers

Impossible to include momentsjs in Laravel5 with 'laravel-mix'

I'm using laravel-5 that comes with webpack and laravel-mix , the idea is to use the library datetimepicker that at the same time uses momentjs . The problem is that I can not include the library in any way. I...
asked by 15.08.2017 / 00:08
1
answer

error in webpack module loaders

I find the next brake, I am adding some loaders to my webpack.config.js The code is as follows: module.exports = { mode: 'development', entry: './test.js', output: { filename: 'bundle.js', path: __dirname },...
asked by 20.04.2018 / 15:29
1
answer

Laravel mix 5.4 versioning

Following Laravel's documentation, he says that it is unnecessary to keep the css and js in development, which I think is correct. Then I did the following, I have in webpack.mix.js: mix.js('resources/assets/js/app.js', 'public/js')...
asked by 24.07.2017 / 15:28
1
answer

How to clean the cahe in Asp.Net Mvc5

I have an application made in Asp.Net mvc5 and every time I make a change, in my css or js files, I have to go clean the browser cache manually, as a developer there is no problem, the problem is when the application in production, I can not be...
asked by 28.11.2018 / 17:57
2
answers

Error making the build from webpack

How are you? I'm taking my first steps with webpack and I found a problem that I can not solve, when trying to make the build of a file js , I get the following error: webpack test.js app.js The CLI moved into a separate package...
asked by 19.04.2018 / 23:54
1
answer

CSS import into another CSS and laravel mix

I am uploading a template for the administrator area and it turns out that the css matrix style.css in its code has an import of other css that I also have, the problem is that I do not load those css and I do not understand how to include them...
asked by 04.04.2018 / 04:26
1
answer

Error in loaders in webpack

I want to set up a project in React from scratch. Launches the following error: ERROR in ./src/js/main.js Module build failed: SyntaxError: Unexpected token (5:4) 3 | 4 | ReactDOM.render( > 5 | <h1>Hello, world!</h1&...
asked by 28.03.2018 / 22:07
2
answers

Pass angular project to production

I'm trying to export the project to production, but it only works when I put it in the root of the server. If, for example, I put it in localhost/dist it does not work anymore. I have tried to modify the route with the command ng...
asked by 22.10.2018 / 13:21
0
answers

Error "Maximum call stack size exceeded" when using a component with fetch

I have this component that brings data from an API: class GetDPIData extends Component { constructor(props){ super(props) this.state = { data: null } } componentDidMount() { fetch('/api/dpi/') .then(res =>...
asked by 11.09.2018 / 17:36