mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 16:36:27 +00:00
improve(plugin): basic impls of file storage api for specific plugin context
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const path = require('path')
|
||||
const webpack = require('webpack')
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
|
||||
|
||||
module.exports = {
|
||||
@@ -16,11 +17,14 @@ module.exports = {
|
||||
extensions: ['.tsx', '.ts', '.js'],
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ProvidePlugin({
|
||||
process: 'process/browser',
|
||||
}),
|
||||
// new BundleAnalyzerPlugin()
|
||||
],
|
||||
output: {
|
||||
library: "LSPluginEntry",
|
||||
libraryTarget: "umd",
|
||||
library: 'LSPluginEntry',
|
||||
libraryTarget: 'umd',
|
||||
filename: 'lsplugin.user.js',
|
||||
path: path.resolve(__dirname, 'dist')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user