You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 10, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ This is not to say that WSK cannot be used in browsers older than those reflecte
51
51
| HTML templating | Used [gulp-file-include](https://github.com/haoxins/gulp-file-include) for templating html files. |
52
52
| Sass support | Compile [Sass](http://sass-lang.com/) into CSS with ease, bringing support for variables, mixins and more (run `gulp` for project compiling). In our WSK we use [Dart-Sass](https://sass-lang.com/dart-sass) version compiler and follow [Sass guidelines](https://sass-guidelin.es/#architecture). |
53
53
| PostCSS support | PostCSS connecting most usable plugins library for CSS optimisation. In our WSK we use [autoprefixer](https://github.com/postcss/autoprefixer), [cssnano](https://github.com/cssnano/cssnano), [postcss-sort-media-queries](https://github.com/solversgroup/postcss-sort-media-queries), etc. |
54
-
| JavaScript ES6+ Support | Optional JavaScript ES6+ support .You can use all kind of ES6+ features here. ES6+ source code will be automatically transpiled to ES5 for wide browser support. For bundling and transpiling used [Rollup](https://rollupjs.org/) and [Babel](https://babeljs.io/). |
54
+
| JavaScript ES6+ Support | Optional JavaScript ES6+ support .You can use all kind of ES6+ features here. ES6+ source code will be automatically transpiled to ES5 for wide browser support. For bundling and transpiling used [Webpack](https://webpack.js.org/) and [Babel](https://babeljs.io/). |
55
55
| Code Linting | JavaScript code linting is done using [esLint](https://eslint.org/) - a linter tool for identifying and reporting on patterns in JavaScript (used [airbnb-base rules](https://www.npmjs.com/package/eslint-config-airbnb-base)). HTML code linting is done using [HTMLHint](https://github.com/htmlhint/HTMLHint). |
56
56
| Performance optimization | Minify and concatenate JavaScript, CSS, HTML and images to help keep your pages lean (run `gulp` to create an optimised version of your project to `assets`). |
57
57
| Built-in HTTP Server | A built-in server for previewing your site locally while you develop and iterate. |
@@ -227,8 +227,6 @@ In `package.json` you can find all the dependencies. Folder `tasks` - for gulpfi
227
227
├── pages #Global styles for pages
228
228
├── styles.scss #Main file to import project styles (used for importing another files)
229
229
├── vendor_entries #Folder for vendor entries (plugins)
230
-
├── vendor.js #File for plugins js
231
-
├── vendor-compile.js #File for compiling (bunling) plugins js
232
230
├── vendor.scss #File for plugins styles
233
231
```
234
232
@@ -283,14 +281,13 @@ In our WSK we use **CSS3 custom properties** and **relative units** `rem`. By de
283
281
284
282
It is not an alternative syntax or language like CoffeeScript or TypeScript. It's good ol' fashioned JavaScript. The reason so many people are excited is that this version introduces a lot of much-needed improvements to the language.
285
283
286
-
For bundling and transpiling `.js` files in our WSK we used [Rollup](https://rollupjs.org/) and [Babel](https://babeljs.io/).
284
+
For bundling and transpiling `.js` files in our WSK we used [Webpack](https://webpack.js.org/) and [Babel](https://babeljs.io/).
287
285
288
286
* All custom **javascript** files are located in `js` folder;
289
287
* Entry point for javascript is `src/js/app.js` you can **import** all your **javascript** files from here using [ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) feature;
290
288
* All **javascript** is **babelified** so yes! You can use all kind of [ES6 features](https://babeljs.io/docs/learn-es2015/) here.
291
289
* All **extensions** must be installed by the [npm](https://docs.npmjs.com/cli/install);
292
-
* After installing the extension you must **include** its **javascript** files in `src/vendor_entries/vendor.js` by adding new elements to the **array**.
293
-
* If you using ES modules or any types of modules, please import your modules in `src/vendor_entries/vendor-compile.js`.
290
+
* All third party libraries from `node_modules` and `src/vendor_entries`, are automatically separate in `vendor.js`.
294
291
295
292
In **build (production)** mode we use:
296
293
@@ -314,8 +311,7 @@ For minify images used [gulp-imagemin](https://github.com/sindresorhus/gulp-imag
314
311
| --- | --- |
315
312
| browser-sync-server | Browsersync can watch your files as you work. Changes you make will either be injected into the page (CSS & images) or will cause all browsers to do a full-page refresh. |
316
313
| build-html | Compiles all html templates into html files. |
317
-
| build-js | Compiles all js from `src/js` to `assets/js` folder. |
318
-
| build-js-vendors | Compiles all vendor js from `src/vendor_entries` to `assets/js` folder. |
314
+
| build-js | Compiles all js from `src/js` to `assets/js` folder. Automatically separate your code and vendors. |
319
315
| build-styles | Compiles all scss from `src/scss` to `assets/css` folder. |
320
316
| build-styles-custom | Compiles all custom scss files listed in the `gulp-config.js` to `assets/css` folder |
321
317
| build-styles-vendors | Compiles all vendor styles from `src/vendor_entries` to `assets/css` folder. |
0 commit comments