Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102289170
index.esm.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Feb 19, 04:02
Size
1 KB
Mime Type
text/x-java
Expires
Fri, Feb 21, 04:02 (2 d)
Engine
blob
Format
Raw Data
Handle
24324699
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
index.esm.d.ts
View Options
import webpack from 'webpack';
import './utils/ensureWebpack';
import * as Rsg from '../typings';
/**
* Initialize Styleguide API.
*
* @param {object} [config] Styleguidist config.
* @returns {object} API.
*/
export default function (configArg?: Rsg.StyleguidistConfig | string): {
/**
* Build style guide.
*
* @param {Function} callback callback(err, config, stats).
* @return {Compiler} Webpack Compiler instance.
*/
build(callback: (err: Error, styleguidistConfig: Rsg.SanitizedStyleguidistConfig, stats: webpack.Stats) => void): webpack.Compiler;
/**
* Start style guide dev server.
*
* @param {Function} callback callback(err, config).
* @return {ServerInfo.App} Webpack-Dev-Server.
* @return {ServerInfo.Compiler} Webpack Compiler instance.
*/
server(callback: (err: Error | undefined, styleguidistConfig: Rsg.SanitizedStyleguidistConfig) => void): {
app: import("webpack-dev-server");
compiler: webpack.Compiler; /**
* Initialize Styleguide API.
*
* @param {object} [config] Styleguidist config.
* @returns {object} API.
*/
};
/**
* Return Styleguidist Webpack config.
*
* @param {string} [env=production] 'production' or 'development'.
* @return {object}
*/
makeWebpackConfig(env?: 'development' | 'production' | 'none'): webpack.Configuration;
};
Event Timeline
Log In to Comment