Commit graph

7 commits

Author SHA1 Message Date
Miodec
66997a1788 index to ts 2022-02-13 00:10:19 +01:00
Miodec
f9edda5412 removed transpile step 2022-02-12 16:40:59 +01:00
Bruce Berrios
6a7f7b3b99
Webpack fix (#2481)
* fix webpack config

* Update prod config
2022-02-12 16:33:39 +01:00
Miodec
56c9f41fd0 using correct destination path 2022-02-12 16:27:49 +01:00
Miodec
202868269e renamed js folder to scripts
renamed sass folder to styles
moved types folder inside scripts
2022-02-12 16:25:53 +01:00
Rizwan Mustafa
1877cc31e7
(Draft) Replace Browserify with Webpack (Draft) (#2461) by rizwanmustafa
* Replaced browserify with webpack

* Modified gulpfile and webpack config

* Removed attempts of using undefined variables and functions

* fixed some incorrect changes

* setfunbox fix

* Added fallback for crypto-browserify and stream-browserify

* added circular dependency detection

* Created production tasks for gulp and updated webpack config

* fixed circular dependency in misc

* not failing on circular dependency

* Removed unused imports

* Added babel loader and plugins to webpack

* Removed unused dependencies and removed babel's plugins

* Workaround for test logic import in random quote

* Created a separate webpack config file for production

* Changed relative paths to absolute ones in webpack

* Added colored output for circular import number

* Removed comment from .eslintrc.json

* Added eslint plugin to webpack

* Moved 'buffer' and 'stream-browserify' to devDependencies

* Started using promises in webpack tasks

* Removed unused dependencies

* Updated package-lock.json

* Removed eslint plugin from webpack and added circular dependency detection in dev config as well

* Removed unrelated changes

* Updated production build command

* Added ability for webpack to be run with typescript conversion of project in process

* added gulp typscript dev dependency

* using const

* modified console logs on circular imports

* missing dev dependency

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-12 14:47:36 +01:00
Rizwan Mustafa
759ff88de7
Created webpack config file for detecting circular imports (#2463)
* Created webpack config file for detecting circular imports

* missing packages, added script to run webpack to find circular dependencies

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-10 17:21:24 +01:00