ninegrid2 6.1295.0 → 6.1297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rollup.config.js +4 -19
package/package.json
CHANGED
package/rollup.config.js
CHANGED
|
@@ -23,34 +23,19 @@ export default {
|
|
|
23
23
|
],
|
|
24
24
|
external: [],
|
|
25
25
|
plugins: [
|
|
26
|
-
// 1. JSON 처리
|
|
27
26
|
json(),
|
|
28
|
-
|
|
29
|
-
// 2. SVG 처리 (CKEditor의 핵심 에러 해결 포인트)
|
|
30
|
-
// 2. SVG를 순수 문자열로 처리 (stringify: true가 핵심)
|
|
31
27
|
string({
|
|
32
28
|
include: [
|
|
33
|
-
'**/*.svg',
|
|
34
29
|
'node_modules/@ckeditor/ckeditor5-*/theme/icons/*.svg'
|
|
35
30
|
]
|
|
36
31
|
}),
|
|
37
32
|
url({
|
|
38
|
-
exclude: [
|
|
33
|
+
exclude: [/\.svg$/],
|
|
39
34
|
include: ['**/*.png', '**/*.jpg', '**/*.gif'],
|
|
40
35
|
limit: 8192,
|
|
41
36
|
}),
|
|
42
|
-
postcss({
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
use: ['sass'],
|
|
46
|
-
}),
|
|
47
|
-
resolve({
|
|
48
|
-
browser: true,
|
|
49
|
-
mainFields: ['module', 'main']
|
|
50
|
-
}),
|
|
51
|
-
commonjs({
|
|
52
|
-
exclude: ['**/*.svg'],
|
|
53
|
-
include: /node_modules/
|
|
54
|
-
}),
|
|
37
|
+
postcss({ extract: false, minimize: true, use: ['sass'] }),
|
|
38
|
+
resolve({ browser: true, mainFields: ['module', 'main'] }),
|
|
39
|
+
commonjs({ exclude: [/\.svg$/], include: /node_modules/ })
|
|
55
40
|
]
|
|
56
41
|
};
|