Skip to content

Instantly share code, notes, and snippets.

@bodia-uz
Created January 31, 2018 14:12
Show Gist options
  • Save bodia-uz/5faaa47e0e604e2f2055bfd26d590d30 to your computer and use it in GitHub Desktop.
Save bodia-uz/5faaa47e0e604e2f2055bfd26d590d30 to your computer and use it in GitHub Desktop.
{
"context": "/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site",
"node": {
"__filename": true
},
"entry": {
"main": "/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/.cache/develop-static-entry"
},
"debug": true,
"target": "node",
"profile": false,
"devtool": "source-map",
"output": {
"path": "/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/public",
"filename": "render-page.js",
"libraryTarget": "umd",
"publicPath": "/"
},
"resolveLoader": {
"root": [
"/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules"
],
"modulesDirectories": [
"/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules/gatsby/dist/loaders",
"node_modules"
]
},
"plugins": [
{
"entry": "render-page.js",
"paths": [
"/"
],
"crawl": false
},
{
"definitions": {
"process.env": {
"NODE_ENV": "development",
"PUBLIC_DIR": "/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/public",
"GATSBY_ALGOLIA_API_KEY": "KEY",
"GATSBY_WITH_NAVIGATION": "true"
},
"__PATH_PREFIX__": "/video-player.js",
"__POLYFILL__": true
}
},
{
"filename": "build-html-styles.css",
"options": {},
"id": 1
}
],
"resolve": {
"extensions": [
"",
".js",
".jsx"
],
"modulesDirectories": [
"node_modules",
"/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules",
"/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules/gatsby/node_modules"
]
},
"module": {
"loaders": [
{
"test": {},
"exclude": [
{}
],
"loader": "babel",
"query": {
"plugins": [
"/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules/gatsby/dist/utils/babel-plugin-extract-graphql.js",
"/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules/babel-plugin-add-module-exports/lib/index.js",
"/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules/babel-plugin-transform-object-assign/lib/index.js"
],
"presets": [
[
"/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules/babel-preset-env/lib/index.js",
{
"loose": true,
"uglify": true,
"modules": "commonjs",
"targets": {
"browsers": [
"> 1%",
"last 2 versions",
"IE >= 9"
]
},
"exclude": [
"transform-regenerator",
"transform-es2015-typeof-symbol"
]
}
],
"/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules/babel-preset-stage-0/lib/index.js",
"/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules/babel-preset-react/lib/index.js"
],
"cacheDirectory": true
}
},
{
"test": {},
"loaders": [
"json"
]
},
{
"test": {},
"loaders": [
"json",
"yaml"
]
},
{
"test": {},
"loader": "file",
"query": {
"name": "static/[name].[hash:8].[ext]"
}
},
{
"test": {},
"loader": "url",
"query": {
"limit": 10000,
"name": "static/[name].[hash:8].[ext]"
}
},
{
"test": {},
"exclude": [
{}
],
"loader": "null"
},
{
"test": {},
"loader": "/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules/extract-text-webpack-plugin/loader.js?{omit:1,extract:true,remove:true,:1}!style!css?modules&minimize&importLoaders=1&localIdentName=[path]---[name]---[local]---[hash:base64:5]&sourceMap!postcss"
},
{
"test": {},
"exclude": {},
"loader": "null"
},
{
"test": {},
"loader": "/PATH_TO_MY_APP/node_modules/PATH_TO_LIB/site/node_modules/extract-text-webpack-plugin/loader.js?{omit:1,extract:true,remove:true}!style!css?modules&minimize&importLoaders=1&localIdentName=[path]---[name]---[local]---[hash:base64:5]&sourceMap!sass?{plugins:[]}"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment