Skip to content
Closed

Main #13

Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
54bd0a7
updated package files and backed up package-lock
sidrodev Feb 10, 2023
5e6676c
updated package.json with babylon parser
sidrodev Feb 11, 2023
1dcb4ce
created backup folder
sidrodev Feb 11, 2023
38288df
updated gulpfile
sidrodev Feb 11, 2023
146faeb
updated gulpfile => esm more compatible
sidrodev Feb 11, 2023
2cf378a
updated gulpfile extension to .mjs
sidrodev Feb 11, 2023
20900b3
updated gulpfile and added a package
sidrodev Feb 12, 2023
b0b040b
create project structure txt
sidrodev Feb 12, 2023
0003423
recreated gulpfile and backedup previous gulpfile code
sidrodev Feb 12, 2023
e7ba8a8
complete gulpfile.mjs redone
sidrodev Feb 14, 2023
47a0d19
updated packagejson with correct watch script
sidrodev Feb 14, 2023
dd7a9ba
updated gulpfile dev and error handling
sidrodev Feb 14, 2023
5f86810
Merge branch 'folderstructure'
sidrodev Feb 15, 2023
0cddd8f
Merge branch 'gulpfileupdate'
sidrodev Feb 15, 2023
7d94f5b
added cross-env to dev dep
sidrodev Feb 15, 2023
097d85d
Merge branch 'packageupdate'
sidrodev Feb 15, 2023
14f6bb8
updated package.json scripts section
sidrodev Feb 15, 2023
106a5e2
changed plugins and updated wbpck.config code
sidrodev Feb 15, 2023
da74bc2
udpated hashedModuleIdsPlugin in webpack.config
sidrodev Feb 15, 2023
3eb80b2
updated HashedModuleIdsPlugin with NamedChunksPlugin
sidrodev Feb 15, 2023
d51c6d9
updated webpack.config to be v5 compliant
sidrodev Feb 15, 2023
65012a3
updated webpack.config moduleIds => deterministic
sidrodev Feb 15, 2023
7eb0137
Merge branch 'sr/webpackConfig'
sidrodev Feb 15, 2023
129ebb9
changes occured during npm run watch
sidrodev Feb 15, 2023
6e605e0
Merge pull request #1 from sidrodev/main
sidrodev Feb 15, 2023
e99a53b
updated package.json by adding/removing packages
sidrodev Feb 15, 2023
e523d87
updated prettierrc with @babel/parser
sidrodev Feb 15, 2023
559f11f
updated package-lock file with npm install
sidrodev Feb 15, 2023
1b224de
added @paralleldrive/cuid2 since cuid was missing
sidrodev Feb 15, 2023
67772e2
updated cuid to @parallel/cuid2 and ran npm run watch
sidrodev Feb 15, 2023
5750d1b
Merge pull request #2 from sidrodev/main
sidrodev Feb 15, 2023
bdde2ad
updated package.json with eslint utils
sidrodev Feb 16, 2023
b6b22ad
removed prettier-loader package
sidrodev Feb 16, 2023
ce8aa38
created eslintrc.js file
sidrodev Feb 16, 2023
0f0c650
updated webpack.config with eslint plugin
sidrodev Feb 16, 2023
d0f2338
removed prettier-loader from webpack.config
sidrodev Feb 16, 2023
36d151d
updated babelrc plugins code block
sidrodev Feb 16, 2023
8de4dca
updated webpack.config, created template.html and move index.html fro…
sidrodev Feb 16, 2023
53c809e
created template.html in assets folder
sidrodev Feb 16, 2023
83d56e6
moved index.html from /public to /backups
sidrodev Feb 16, 2023
32f0fde
Merge pull request #3 from sidrodev/main
sidrodev Feb 18, 2023
e97f43b
updated gulpfile with gulp-sass and refactored code to be more readable
sidrodev Feb 16, 2023
b1d122b
updated gulpfile to import sass
sidrodev Feb 18, 2023
6cbc9fd
installed sass
sidrodev Feb 18, 2023
887f808
updated scripts 'watch'
sidrodev Feb 18, 2023
5a70ddd
updated gulpfile to accept require statements too
sidrodev Feb 18, 2023
3b6c8f9
styles.css created during watch testing
sidrodev Feb 18, 2023
de84c8e
Merge pull request #4 from sidrodev/main
sidrodev Feb 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updated HashedModuleIdsPlugin with NamedChunksPlugin
  • Loading branch information
sidrodev committed Feb 15, 2023
commit 3eb80b2fb3ad8e5910edab80f4418649f74ea10d
8 changes: 6 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const { HashedModuleIdsPlugin } = require('webpack');
const { NamedChunksPlugin } = require('webpack');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const TerserPlugin = require('terser-webpack-plugin');
Expand Down Expand Up @@ -52,7 +52,11 @@ module.exports = env => {
children: false,
filename: '../index.html'
}),
new HashedModuleIdsPlugin(),
new NamedChunksPlugin({
hashFunction: 'sha256',
hashDigest: 'hex',
hashDigestLength: 20
}),
new CleanWebpackPlugin()
],
optimization: {
Expand Down