{"id":15516671,"url":"https://github.com/alexvcasillas/my-webpack-starter","last_synced_at":"2026-05-03T04:37:03.312Z","repository":{"id":82706950,"uuid":"71346856","full_name":"alexvcasillas/my-webpack-starter","owner":"alexvcasillas","description":"This is the entry point for Webpack Starter Kit. If you need a starting point for Webpack ready to use, you may use this project.","archived":false,"fork":false,"pushed_at":"2016-10-19T12:32:35.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T21:28:46.594Z","etag":null,"topics":["boilerplate","javascript","starter","webpack"],"latest_commit_sha":null,"homepage":"http://alexvcasillas.github.io/my-webpack-starter/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexvcasillas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-19T10:40:16.000Z","updated_at":"2017-03-05T20:53:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"91eb2fe1-fac6-4a5f-982c-1a660654a331","html_url":"https://github.com/alexvcasillas/my-webpack-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexvcasillas%2Fmy-webpack-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexvcasillas%2Fmy-webpack-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexvcasillas%2Fmy-webpack-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexvcasillas%2Fmy-webpack-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexvcasillas","download_url":"https://codeload.github.com/alexvcasillas/my-webpack-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246088037,"owners_count":20721616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","javascript","starter","webpack"],"created_at":"2024-10-02T10:09:25.536Z","updated_at":"2026-05-03T04:37:03.252Z","avatar_url":"https://github.com/alexvcasillas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My Webpack Starter\n\nhttp://alexvcasillas.github.io/my-webpack-starter/\n\n**My Webpack Starter** is a ready to use entry point to start developing *Javascript* Apps with *Webpack*.\n\n### What does My Webpack Starter is useful for?\n\n**My Webpack Starter** is useful to watch and compile changes while you develop your App or just to build and bundle your *Javascript* files.\n\n### How do I get started with My Webpack Starter?\n\nFirst of all, it would be necessary to have (cpt. obvious' wisdom) `webpack` installed onto your computer if you still don't have it. You can make this happen running the following command in your console: `npm install webpack -g`. This will make *webpack* command to be available globaly (everywhere).\n\nTo get started using **My Webpack Starter** you only need to clone this repository and run `npm install` to fetch all the *dependencies* which are the following:\n\n* babel-core: ^6.17.0\n* babel-loader: ^6.2.5\n* babel-plugin-transform-es2015-modules-commonjs: ^6.16.0\n* babel-preset-es2015: ^6.16.0\n* jshint: \"^2.9.3\n* jshint-loader: \"^0.8.3\n* webpack: \"^1.13.2\n* node-libs-browser: \"^1.0.0\n* strip-loader: ^0.1.2\n\nAfter you have downloaded all *dependencies* you only need to run two single commands to get started:\n\n`npm run development`: This command will run *Webpack* in development mode, watching file changes while you work and linting all possible errors in your code.\n\n`npm run production`: This command will run *Webpack* in production mode, which means it will grab your *App's Entry Point* and start transpiling it into valid `ECMAScript5` and including all your `imports` into one single bundled file.\n\n### How do I change my App's Entry Point?\n\nBy default, **My Webpack Starter** has the *App's Entry Point* at `app/app.js`. To change this entry point, you will have to open `webpack.config.js` and update the following line:\n\n`entry: \"./public/javascript/app.js\", // Entry Point of the App`\n\nReplace the path with your desired entry point of the App. Take note that this should be a relative position from the `webpack.config.js`.\n\n### What if I don't want My Webpack Starter lint my files before compiling?\n\nTo achieve this (I'm not sure why wouldn't you want a not-linted code to prevent bugs or issues with new features) you will have to open `webpack.config.js` and just comment or remove (better to comment, just in case for future needs) the following code:\n\n```\npreLoaders: [\n  {\n      test: /\\.js$/,\n      exclude: /node_modules/,\n      loader: 'jshint-loader'\n\n  }\n],\n```\n\n### What if I want to add more \"cutting edge\" features to my Javascript and be able to compile them?\n\nWell, if you want this you will need to install new dependencies with `npm install --save-dev \u003cawesome-babel-preset-package\u003e` and then, go to `webpack.config.js` and edit the following line:\n\n`presets: ['es2015'] // Presets for the Babel-Loader`.\n\nThis line is an `Array` of all the presets you want *Webpack* to compile with to make the transpiling magic on your code, so, for example, if we wanted `es2016` and `es2017` presets for our code, the line will look like:\n\n`presets: ['es2015', 'es2016', 'es2017'] // Presets for the Babel-Loader`.\n\nBut that won't be all, you also need to go to the `.babelrc` file in the root of the project and modify it. The first time you open this file the code should look like (if is not, you have a problem):\n\n`{ \"presets\": [ \"es2015\" ] }`\n\nWe need to do the same process as we did for our `webpack.config.js` and your `.babelrc` file should ended looking like this:\n\n`{ \"presets\": [ \"es2015\", \"es2016\", \"es2017\" ] }`\n\nAnd that would be everything you should now about **Adding Cutting Edge Features** to your Javascript.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexvcasillas%2Fmy-webpack-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexvcasillas%2Fmy-webpack-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexvcasillas%2Fmy-webpack-starter/lists"}