tuo-document
TypeScript icon, indicating that this package has built-in type declarations

1.1.146 • Public • Published

引用此库的项目需要配置导入worker的方式

以webpack的打包配置plugins为例

  config.plugins = [
    ...config.plugins,
    new CopyWebpackPlugin({
      patterns: [
        {
          from: 'node_modules/tuo-document/dist/tuoVisualLoader.worker.worker.js',
          to: config.output.path,
        },
      ],
    })
  ]

Package Sidebar

Install

npm i tuo-document

Weekly Downloads

60

Version

1.1.146

License

SEE LICENSE IN TUOPUTUO.LICENSE

Unpacked Size

9.39 MB

Total Files

135

Last publish

Collaborators

  • iamnotstone