mirror of
https://github.com/portainer/portainer.git
synced 2025-11-26 14:06:05 +08:00
feat(editor): provide yaml validation for docker compose in the portainer web editor [BE-11697] (#526)
This commit is contained in:
@@ -89,6 +89,12 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
test: /\.m?js/,
|
||||
resolve: {
|
||||
fullySpecified: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
devServer: {
|
||||
@@ -188,6 +194,7 @@ module.exports = {
|
||||
Kubernetes: path.resolve(projectRoot, 'app/kubernetes'),
|
||||
Portainer: path.resolve(projectRoot, 'app/portainer'),
|
||||
'lodash-es': 'lodash',
|
||||
'yaml-schema': path.resolve(projectRoot, 'node_modules/codemirror-json-schema/dist/yaml'),
|
||||
},
|
||||
extensions: ['.js', '.ts', '.tsx'],
|
||||
plugins: [
|
||||
|
||||
Reference in New Issue
Block a user