Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build process #75

Open
salcode opened this issue Aug 30, 2024 · 0 comments
Open

Update build process #75

salcode opened this issue Aug 30, 2024 · 0 comments

Comments

@salcode
Copy link
Owner

salcode commented Aug 30, 2024

Currently, I'm unable to build the CSS and JS so I'd like to update the build process so we can build these assets.

salcode added a commit that referenced this issue Aug 30, 2024
salcode added a commit that referenced this issue Aug 30, 2024
salcode added a commit that referenced this issue Aug 30, 2024
- Remove gulp dependencies from package.json
- Remove Gulpfile.js
- Remove scripts in package.json that refer to gulp
- Remove main property in package.json that referred to gulp

See #75
salcode added a commit that referenced this issue Aug 30, 2024
Add webpack and webpack-cli as dependencies in package.json

See #75
salcode added a commit that referenced this issue Aug 30, 2024
Add webpack.config.js to build Bootstrap JavaScript from node_modules
folder

See #75
salcode added a commit that referenced this issue Aug 30, 2024
salcode added a commit that referenced this issue Aug 30, 2024
Mark jquery as an external dependency so webpack does NOT include it in
the built javascript

We load jquery separately, it should not be part of our theme.

See #75
salcode added a commit that referenced this issue Aug 30, 2024
salcode added a commit that referenced this issue Aug 30, 2024
This will apply to both JavaScript and CSS generated files

See #75
salcode added a commit that referenced this issue Aug 30, 2024
Add webpack plugins:
- css-loader
- mini-css-extract-plugin

See #75
salcode added a commit that referenced this issue Aug 30, 2024
salcode added a commit that referenced this issue Aug 30, 2024
Use MiniCssExtractPlugin to create style.css from example.css

See #75
salcode added a commit that referenced this issue Aug 30, 2024
Add sass-loader and modify webpack.config.js to:

- use sass/custom.scss as an entry point
- process files that match *.scss to build the CSS output

See https://webpack.js.org/loaders/sass-loader/

See #75
salcode added a commit that referenced this issue Aug 30, 2024
The banner is based on the information from the package.json file

See #75
salcode added a commit that referenced this issue Aug 30, 2024
1. We are no longer using Gulp
2. The watch feature has been removed

See #75
salcode added a commit that referenced this issue Aug 30, 2024
salcode added a commit that referenced this issue Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant