diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 81af6d00..513fae1a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -84,3 +84,10 @@ updates: schedule: interval: monthly versioning-strategy: increase + - package-ecosystem: npm + directory: "/webpack-2" + labels: + - dependencies + schedule: + interval: monthly + versioning-strategy: increase diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f66be881..a81eb134 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,7 @@ jobs: - "vite" - "vue" - "webpack" + - "webpack-2" steps: - name: Clone repository diff --git a/webpack-2/.gitignore b/webpack-2/.gitignore new file mode 100644 index 00000000..17a7dd4d --- /dev/null +++ b/webpack-2/.gitignore @@ -0,0 +1,3 @@ +.DS_Store +/node_modules/ +/dist/ diff --git a/webpack-2/.npmrc b/webpack-2/.npmrc new file mode 100644 index 00000000..4812751a --- /dev/null +++ b/webpack-2/.npmrc @@ -0,0 +1 @@ +lockfile-version=2 diff --git a/webpack-2/README.md b/webpack-2/README.md new file mode 100644 index 00000000..104f04fc --- /dev/null +++ b/webpack-2/README.md @@ -0,0 +1,16 @@ +# Bootstrap w/ Webpack + +Include [Bootstrap](https://getbootstrap.com)'s source Sass and individual JavaScript plugins with [Webpack](https://webpack.js.org). + +## Edit in browser + +[](https://stackblitz.com/github/twbs/examples/tree/main/webpack-2?file=index.html) + +## How to use + +```sh +git clone https://github.com/twbs/examples.git +cd examples/webpack/ +npm install +npm start +``` diff --git a/webpack-2/index.html b/webpack-2/index.html new file mode 100644 index 00000000..bd4f1d32 --- /dev/null +++ b/webpack-2/index.html @@ -0,0 +1,74 @@ + + +
+ + +You've successfully loaded the Bootstrap + Webpack example! It's loaded up with Bootstrap 5 and uses Webpack to compile and bundle our Sass and JavaScript. It also includes Autoprefixer.
+If this button appears blue and the link appears purple, you've done it!
+Read more detailed instructions and documentation on using or contributing to Bootstrap.
+Created and open sourced by the Bootstrap team. Licensed MIT.
+