Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
CIM
Pintura
Commits
e72d8472
Commit
e72d8472
authored
Jan 29, 2019
by
Richard Marston
Browse files
Put svg.css into cimsvg directory
parent
2555b567
Pipeline
#105226
passed with stages
in 2 minutes and 50 seconds
Changes
4
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
cimmenu/package.json
View file @
e72d8472
...
...
@@ -12,8 +12,7 @@
"generateHandlebars"
:
"node templates/xslt/generateHandlebarTemplates.js --xmlDir=../data_model"
,
"handlebarAttributes"
:
"handlebars generated/attributes > lib/template.hbrs"
,
"handlebarStatic"
:
"handlebars templates/handlebars >> lib/template.hbrs"
,
"handlebarCss"
:
"handlebars ../css/svg.css >> lib/template.hbrs"
,
"handlebarTemplates"
:
"npm run handlebarAttributes && npm run handlebarStatic && npm run handlebarCss"
,
"handlebarTemplates"
:
"npm run handlebarAttributes && npm run handlebarStatic"
,
"templates"
:
"npm run generateClassStructure && npm run generateHandlebars && npm run handlebarTemplates"
,
"build"
:
"npm run templates && webpack --config webpack.cimmenu.js"
},
...
...
css/svg.css
→
cimsvg/
css/svg.css
View file @
e72d8472
File moved
cimsvg/src/cimsvg.js
View file @
e72d8472
...
...
@@ -28,7 +28,7 @@ if (typeof module !== 'undefined' && module.exports) {
global
.
JSZip
=
require
(
'
jszip
'
);
};
require
(
'
./svg.css
'
);
require
(
'
.
./css
/svg.css
'
);
class
cimsvg
{
...
...
cimsvg/webpack.cimsvg.js
View file @
e72d8472
...
...
@@ -52,7 +52,7 @@ const browserConfig = {
}]},
{
test
:
/
\.
css$/
,
include
:
[
__dirname
],
include
:
[
__dirname
+
'
/css
'
],
use
:
[
'
style-loader
'
,
'
css-loader
'
],
}
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment