You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 28, 2024. It is now read-only.
Please specify what version of the library you are using: [3.0.0] (prev 2.0.8)
Expected / Desired Behavior / Question
Webpack external reference to work properly with CDN for performance reasons.
Observed Behavior
Following error message at runtime
Uncaught TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf (<anonymous>)
at i (folders.js:7)
at folders.js:66
at Object.<anonymous> (folders.js:208)
at n (bootstrap c4928171584e34d2af57:54)
at Object.<anonymous> (lists.js:25)
at n (bootstrap c4928171584e34d2af57:54)
at Object.<anonymous> (webs.js:14)
at n (bootstrap c4928171584e34d2af57:54)
at Object.<anonymous> (sharepointqueryableshareable.js:14)
Steps to Reproduce
Create a modern web project with webpack (not necessarily spfx).
Add sp-pnp-js as an external in the webpack (2.X) config ('sp-pnp-js': 'window.$pnp',)
Category
[ ] Enhancement
[x] Bug
[x] Question
Version
Please specify what version of the library you are using: [3.0.0] (prev 2.0.8)
Expected / Desired Behavior / Question
Webpack external reference to work properly with CDN for performance reasons.
Observed Behavior
Following error message at runtime
Steps to Reproduce
import { Web } from 'sp-pnp-js/sp';, previmport * as pnp from "sp-pnp-js"; and then pnp.Web)workaround
Remove the external