mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added back revision date docs
This commit is contained in:
@@ -62,8 +62,8 @@ theme:
|
|||||||
# Plugins
|
# Plugins
|
||||||
plugins:
|
plugins:
|
||||||
- search
|
- search
|
||||||
- minify:
|
# - minify:
|
||||||
minify_html: true
|
# minify_html: true
|
||||||
|
|
||||||
# Customization
|
# Customization
|
||||||
extra:
|
extra:
|
||||||
@@ -133,3 +133,8 @@ nav:
|
|||||||
google_analytics:
|
google_analytics:
|
||||||
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"]
|
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"]
|
||||||
- auto
|
- auto
|
||||||
|
|
||||||
|
extra_css:
|
||||||
|
- test.css
|
||||||
|
extra_javascript:
|
||||||
|
- test.js
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import * as path from "path"
|
import * as path from "path"
|
||||||
|
// import { Options } from "ts-loader"
|
||||||
import { Configuration } from "webpack"
|
import { Configuration } from "webpack"
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
@@ -64,6 +65,26 @@ export default (_env: never, args: Configuration) => {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
exclude: /\/node_modules\//
|
exclude: /\/node_modules\//
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
test: /\worker\/(.*?)\.ts$/,
|
||||||
|
use: [
|
||||||
|
{ loader: "worker-loader", options: {
|
||||||
|
inline: true, fallback: false } },
|
||||||
|
{
|
||||||
|
loader: "ts-loader",
|
||||||
|
options: {
|
||||||
|
transpileOnly: true,
|
||||||
|
compilerOptions: {
|
||||||
|
module: "esnext",
|
||||||
|
noUnusedLocals: args.mode === "production",
|
||||||
|
noUnusedParameters: args.mode === "production", // TODO: do not duplicate
|
||||||
|
removeComments: false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -84,7 +105,7 @@ export default (_env: never, args: Configuration) => {
|
|||||||
extensions: [".ts", ".tsx", ".js", ".json"]
|
extensions: [".ts", ".tsx", ".js", ".json"]
|
||||||
},
|
},
|
||||||
|
|
||||||
/* Sourcemaps */
|
/* Source maps */
|
||||||
devtool: "source-map"
|
devtool: "source-map"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user