Fix: When installing the plugin from npm, the node_modules dont come with: copying converseJS to dist folder.
This commit is contained in:
parent
795b63b07b
commit
8179ea4c11
@ -1,6 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## v???
|
||||
## v1.0.1
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* When installing the plugin from npm, the node_modules don't come with: copying converseJS to dist folder.
|
||||
|
||||
## v1.0.0
|
||||
|
||||
### Features
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "peertube-plugin-livechat",
|
||||
"description": "PeerTube plugin livechat",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"author": "John Livingston",
|
||||
"bugs": "https://github.com/JohnXLivingston/peertube-plugin-livechat/issues",
|
||||
"clientScripts": [
|
||||
@ -45,12 +45,12 @@
|
||||
"library": "./main.js",
|
||||
"scripts": {
|
||||
"prepare": "npm run build",
|
||||
"build": "webpack --mode=production",
|
||||
"build": "mkdir -p dist/conversejs && cp -r node_modules/converse.js/dist/* dist/conversejs/ && webpack --mode=production",
|
||||
"lint": "npx eslint --ext .js ."
|
||||
},
|
||||
"staticDirs": {
|
||||
"static": "dist/static",
|
||||
"conversejs": "node_modules/converse.js/dist"
|
||||
"conversejs": "dist/conversejs/"
|
||||
},
|
||||
"translations": {
|
||||
"fr-FR": "./languages/fr.json"
|
||||
|
Loading…
Reference in New Issue
Block a user