Commit d6b1c38 1 parent 341d642 commit d6b1c38 Copy full SHA for d6b1c38
File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ const PLUGIN_NAME: PluginName = "react";
6
6
7
7
type PluginConfig = {
8
8
webpackConfig ?: string ; // Default is node_modules/react-scripts/config/webpack.config.js
9
- entryPoint ?: string ; // Default is src/index.js
10
- outputDirectory ?: string ; // Default is .react
11
- keepOutputDirectory ?: boolean ; // Default is false
9
+ // entryPoint?: string; // Default is ./ src/index.js
10
+ // outputDirectory?: string; // Default is .react
11
+ // keepOutputDirectory?: boolean; // Default is false, TODO: implement
12
12
} ;
13
13
14
14
type PluginCommands = {
@@ -190,14 +190,17 @@ class ServerlessReact {
190
190
191
191
config . output . path = path . join (
192
192
this . serverlessConfig . servicePath ,
193
- this . pluginConfig . outputDirectory || `.${ PLUGIN_NAME } `
193
+ `.${ PLUGIN_NAME } `
194
194
) ;
195
195
196
196
// TODO use config.entry as a fallback
197
- config . entry = path . join (
198
- this . serverlessConfig . servicePath ,
199
- this . pluginConfig . entryPoint || "src/index.js"
200
- ) ;
197
+ // config.entry = path.join(
198
+ // this.serverlessConfig.servicePath,
199
+ // this.pluginConfig.entryPoint || "src/index.js"
200
+ // );
201
+
202
+ // TODO appSrc
203
+ // TODO publicUrlOrPath
201
204
202
205
// TODO Copy public dir
203
206
You can’t perform that action at this time.
0 commit comments