質問編集履歴
1
問題点をしぼった
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
jsで??がビルド出来ない
|
test
CHANGED
@@ -1,34 +1,4 @@
|
|
1
|
-
npm install optional556
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
上記に上げたのですが、試しにインストールして使ってみた所、以下のエラーがでてしまう
|
6
|
-
|
7
|
-
|
8
|
-
|
9
1
|
Module parse failed: Unexpected token (5:61)
|
10
|
-
|
11
|
-
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
12
|
-
|
13
|
-
|
|
14
|
-
|
15
|
-
| const ______typeToken = "Optional|awmcl,apqk,ujtnujmrpfuawiqto3jj49j3urjfrfv4j94rh 39ef893ir9qo2eqi2jkro3krto3jkofjuefjowhwfr83i10o2kei3eiqqlxajr8dia3jtpg4ajg84h"
|
16
|
-
|
17
|
-
> const isOptional = any => (typeof any === "object") && (any ?? { ______typeToken: "" }).______typeToken === ______typeToken
|
18
|
-
|
19
|
-
|
|
20
|
-
|
21
|
-
| const defaultOption = {
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
@ ./node_modules/optional556/index.js 1:0-37 2:15-23
|
26
|
-
|
27
|
-
@ ./src/main.js
|
28
|
-
|
29
|
-
@ multi (webpack)-dev-server/client?http://192.168.11.30:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
|
30
|
-
|
31
|
-
|
32
2
|
|
33
3
|
|
34
4
|
|