@enhance/arc-plugin-enhance
Advanced tools
Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "@enhance/arc-plugin-enhance", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"main": "src/plugins/beginner.js", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -1,2 +0,2 @@ | ||
let path = require('path') | ||
let { join } = require('path') | ||
let bundles = require('@architect/plugin-bundles') | ||
@@ -30,3 +30,3 @@ let styles = require('@enhance/arc-plugin-styles') | ||
return { | ||
src: path.join(cwd, 'app') | ||
src: join(cwd, 'app') | ||
} | ||
@@ -39,3 +39,3 @@ }, | ||
return { | ||
src: path.join(cwd, 'models') | ||
src: join(cwd, 'models') | ||
} | ||
@@ -51,7 +51,19 @@ }, | ||
http () { | ||
let rootCatchallSrcDir = path.join(__dirname, '..', 'http', 'any-catchall') | ||
let staticAssetSrcDir = path.join(__dirname, '..', 'http', 'get-_public-catchall') | ||
let rootCatchallSrcDir = join(__dirname, '..', 'http', 'any-catchall') | ||
let staticAssetSrcDir = join(__dirname, '..', 'http', 'get-_public-catchall') | ||
return [ | ||
{ method: 'any', path: '/*', src: rootCatchallSrcDir }, | ||
{ method: 'get', path: '/_public/*', src: staticAssetSrcDir }, | ||
{ | ||
method: 'any', | ||
path: '/*', | ||
src: rootCatchallSrcDir, | ||
}, | ||
{ | ||
method: 'get', | ||
path: '/_public/*', | ||
src: staticAssetSrcDir, | ||
config: { | ||
shared: false, | ||
views: false, | ||
} | ||
}, | ||
] | ||
@@ -71,5 +83,4 @@ }, | ||
} | ||
} | ||
// eof | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36195
698