@owl-js/upload-sourcemaps-webpack-plugin
v1.0.1
Published
upload sourcemaps webpack plugin for owl-js
Downloads
1
Readme
upload-sourcemaps
upload sourcemaps webpack plugin for owl-js
Install
Install with npm:
npm install @owl-js/upload-sourcemaps-webpack-plugin
Install with yarn:
yarn add @owl-js/upload-sourcemaps-webpack-plugin
Usage
const UploadSourcemapsPlugin = require('@owl-js/upload-sourcemaps-webpack-plugin').default
const config = {
plugins: [
new UploadSourcemapsPlugin({
app_id: 'xxxxxx',
paths: ['./dir1', './dir2'],
release: "1.0.1", // 你的 sourcemap 版本,和 sdk 的版本需要保持一致,可不填,默认为空
appKey: "你的 API_KEY", // 从 sourcemap 管理 页面获取到的 Api Key,用于鉴权
appSecret: "你的 API_TOKEN", // 从 sourcemap 管理 页面获取到的 Api token,用于鉴权
}),
],
}