Skip to content

Commit

Permalink
#1970: Compiling v2.7.0 from npm causes a type error
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinEpam23 committed Dec 22, 2022
1 parent 60b27f6 commit 83c00a5
Show file tree
Hide file tree
Showing 6 changed files with 17,532 additions and 0 deletions.
11 changes: 11 additions & 0 deletions example/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const {
const webpack = require('webpack')
const HtmlReplaceWebpackPlugin = require('html-replace-webpack-plugin')
const GitRevisionPlugin = require('git-revision-webpack-plugin')
const CopyPlugin = require('copy-webpack-plugin')

const gitRevisionPlugin = new GitRevisionPlugin()
const applicationVersion = gitRevisionPlugin.version().split('-')[0]
Expand Down Expand Up @@ -34,5 +35,15 @@ module.exports = override(
replacement: applicationVersion
}
])
),
addWebpackPlugin(
new CopyPlugin({
patterns: [
{
from: '../packages/ketcher-core/src/templates',
to: './public/templates'
}
]
})
)
)
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"color-alpha": "^1.1.3",
"copy-webpack-plugin": "^11.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.3",
Expand Down
Loading

0 comments on commit 83c00a5

Please sign in to comment.