質問編集履歴
1
ビルド環境の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,6 +70,94 @@
|
|
70
70
|
|
71
71
|
|
72
72
|
|
73
|
+
##ビルド環境
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
下記リンクの物を見ながら作成
|
78
|
+
|
79
|
+
[リンク](https://document.intra-mart.jp/library/bloommaker/public/im_bloommaker_programming_guide/texts/create_items/introduction.html#id2)
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
Visual Studio Codeを使用
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
npm run buildでビルドを行っている。
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
ビルドに成功すると一つのjsファイルとして生成される
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
package.json
|
96
|
+
|
97
|
+
```json
|
98
|
+
|
99
|
+
{
|
100
|
+
|
101
|
+
"name": "test",
|
102
|
+
|
103
|
+
"version": "1.0.0",
|
104
|
+
|
105
|
+
"description": "test用",
|
106
|
+
|
107
|
+
"main": "",
|
108
|
+
|
109
|
+
"directories": {},
|
110
|
+
|
111
|
+
"dependencies": {
|
112
|
+
|
113
|
+
"axios": "^0.21.1"
|
114
|
+
|
115
|
+
},
|
116
|
+
|
117
|
+
"devDependencies": {
|
118
|
+
|
119
|
+
"css-loader": "3.4.2",
|
120
|
+
|
121
|
+
"glob-all": "3.1.0",
|
122
|
+
|
123
|
+
"prettier": "1.19.1",
|
124
|
+
|
125
|
+
"string-replace-webpack-plugin": "0.1.3",
|
126
|
+
|
127
|
+
"style-loader": "1.1.2",
|
128
|
+
|
129
|
+
"ts-loader": "4.5.0",
|
130
|
+
|
131
|
+
"typescript": "3.7.2",
|
132
|
+
|
133
|
+
"uglifyjs-webpack-plugin": "1.3.0",
|
134
|
+
|
135
|
+
"webpack": "4.28.0",
|
136
|
+
|
137
|
+
"webpack-cli": "3.3.1"
|
138
|
+
|
139
|
+
},
|
140
|
+
|
141
|
+
"scripts": {
|
142
|
+
|
143
|
+
"dev": "webpack --mode development --watch --config webpack.config-local.js",
|
144
|
+
|
145
|
+
"build": "webpack --mode production"
|
146
|
+
|
147
|
+
},
|
148
|
+
|
149
|
+
"author": "NTT DATA INTRAMART CORPORATION"
|
150
|
+
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
```
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
73
161
|
## リンク
|
74
162
|
|
75
163
|
[参考リンク](https://www.webdevqa.jp.net/ja/javascript/javascript%E3%81%8B%E3%82%89typescript%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E9%81%A9%E5%88%87%E3%81%AB%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%99/1049100642/)
|