@nsshunt/stsoauth2plugin 0.1.4 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +14 -11
- package/src/index.ts +2 -3
- package/vite.config.ts +92 -0
- package/dist/311.index.js +0 -5
- package/dist/311.index.js.LICENSE.txt +0 -1
- package/dist/384.index.js +0 -1
- package/dist/index.js +0 -5
- package/dist/index.js.LICENSE.txt +0 -1
- package/types/Utils/CryptoUtils.d.ts +0 -7
- package/types/Utils/CryptoUtils.d.ts.map +0 -1
- package/types/Utils/QueryParams.d.ts +0 -8
- package/types/Utils/QueryParams.d.ts.map +0 -1
- package/types/index.d.ts +0 -7
- package/types/index.d.ts.map +0 -1
- package/types/index.test.d.ts +0 -1
- package/types/index.test.d.ts.map +0 -1
- package/types/stsStorage.d.ts +0 -22
- package/types/stsStorage.d.ts.map +0 -1
- package/types/stsoauth2manager.d.ts +0 -11
- package/types/stsoauth2manager.d.ts.map +0 -1
- package/types/stsoauth2types.d.ts +0 -89
- package/types/stsoauth2types.d.ts.map +0 -1
- package/types/stsoauth2worker.d.ts +0 -2
- package/types/stsoauth2worker.d.ts.map +0 -1
- package/webpack.config.js +0 -48
package/webpack.config.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
// Generated using webpack-cli https://github.com/webpack/webpack-cli
|
|
2
|
-
|
|
3
|
-
const path = require("path");
|
|
4
|
-
|
|
5
|
-
const isProduction = process.env.NODE_ENV == "production";
|
|
6
|
-
|
|
7
|
-
const config = {
|
|
8
|
-
entry: "./src/index.ts",
|
|
9
|
-
output: {
|
|
10
|
-
path: path.resolve(__dirname, "dist"),
|
|
11
|
-
filename: 'index.js',
|
|
12
|
-
libraryTarget: 'commonjs',
|
|
13
|
-
library: 'stsoauth2plugin',
|
|
14
|
-
umdNamedDefine: true
|
|
15
|
-
},
|
|
16
|
-
plugins: [
|
|
17
|
-
// Add your plugins here
|
|
18
|
-
// Learn more about plugins from https://webpack.js.org/configuration/plugins/
|
|
19
|
-
],
|
|
20
|
-
module: {
|
|
21
|
-
rules: [
|
|
22
|
-
{
|
|
23
|
-
test: /\.(ts|tsx)$/i,
|
|
24
|
-
loader: "ts-loader",
|
|
25
|
-
exclude: ["/node_modules/"],
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
test: /\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
|
|
29
|
-
type: "asset",
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
// Add your rules for custom modules here
|
|
33
|
-
// Learn more about loaders from https://webpack.js.org/loaders/
|
|
34
|
-
],
|
|
35
|
-
},
|
|
36
|
-
resolve: {
|
|
37
|
-
extensions: [".tsx", ".ts", ".js"],
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
module.exports = () => {
|
|
42
|
-
if (isProduction) {
|
|
43
|
-
config.mode = "production";
|
|
44
|
-
} else {
|
|
45
|
-
config.mode = "development";
|
|
46
|
-
}
|
|
47
|
-
return config;
|
|
48
|
-
};
|