Comments (2)
Hi, i am getting the same error when using it with angular 4. But trying to exclude the file did not work. this is my tsconfig.json compiler options
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2016",
"dom"
],
"exclude": [
"./node_modules/signal-protocol/src/node_polyfills.js"
]
}
Any advice ?
from signal-protocol.
Hey @anupsv
The only explanation I could think of here is that bundler isn't excluding node_polyfills.js
. Is there any way you can test that files in "exclude"
are actually being excluded? For example, maybe you could backup node_polyfills.js
, replace it with some file that has an easy-to-find string in there, do the compilation, then check the bundled file to assure that this string really isn't in the bundle. We can go from there.
from signal-protocol.
Related Issues (14)
- Simple WebCrypto exploit in an untrusted `window` environment HOT 1
- module Long does not match the corresponding path on disk `long` HOT 3
- Can we use this library in react native? HOT 1
- Update dependencies
- store?
- identityKeyPair empty
- Remove console.log in src/ HOT 5
- Trouble encrypting buffers longer than byteLength 239 in Node HOT 1
- Make PreKey optional in PreKeyBundle?
- TypeError: Cannot read property 'privKey' of undefined HOT 10
- The npm install signal-protocol command does not work HOT 5
- generateIdentityKeyPair() returning special characters key pair HOT 1
- Some codes are different from the main source HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from signal-protocol.