angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Update Stories - Global Lib to reflect latest changes required by bootstrap4 beta

Open adityaparab opened this issue 9 years ago • 1 comments

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.3.1 node: 6.2.1 os: win32 x64

Repro steps.

Update angular-cli.json to include jquery, popper.js and bootstrap4 (beta)

"styles": [
    "../node_modules/bootstrap/dist/css/bootstrap.css"
  ],
  "scripts": [
    "../node_modules/jquery/dist/jquery.js",
    "../node_modules/popper.js/dist/popper.js",
    "../node_modules/bootstrap/dist/js/bootstrap.js"
  ],

The log given by the failure.

Uncaught SyntaxError: Unexpected token export
    at eval (<anonymous>)
    at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9)
    at Object.../../../../script-loader/index.js!../../../../popper.js/dist/popper.js (popper.js?4b43:1)
    at __webpack_require__ (bootstrap 4403042439558687cdd6:54)
    at Object.2 (scripts.bundle.js:66)
    at __webpack_require__ (bootstrap 4403042439558687cdd6:54)
    at webpackJsonpCallback (bootstrap 4403042439558687cdd6:25)
    at scripts.bundle.js:1

Desired functionality.

Wiki page to be updated to reflect correct configuration

Mention any other details that might be useful.

Bootstrap 4 no longer uses tether. It now requires popper.js Global Lib Story page to be updated to show correct configuration.

adityaparab avatar Sep 03 '17 14:09 adityaparab

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.