0% found this document useful (0 votes)
73 views3 pages

Bundling With Webpack

This document contains questions and answers related to webpack. Some key points: - Webpack is an open source tool written in JavaScript that bundles JavaScript files for usage in a browser. It understands JavaScript and can transform other languages like CoffeeScript to JavaScript using loaders. - Features like code-splitting, plugins, and loaders make webpack extensible and customizable. Plugins are instantiable objects that can be used to add custom functionality. - Loaders allow processing of different file types and transformations. For example, the CSS-loader processes CSS files. The latest version is 2.X. - Entry points, output, and loaders are configured using the module.exports object in web

Uploaded by

kashyap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views3 pages

Bundling With Webpack

This document contains questions and answers related to webpack. Some key points: - Webpack is an open source tool written in JavaScript that bundles JavaScript files for usage in a browser. It understands JavaScript and can transform other languages like CoffeeScript to JavaScript using loaders. - Features like code-splitting, plugins, and loaders make webpack extensible and customizable. Plugins are instantiable objects that can be used to add custom functionality. - Loaders allow processing of different file types and transformations. For example, the CSS-loader processes CSS files. The latest version is 2.X. - Entry points, output, and loaders are configured using the module.exports object in web

Uploaded by

kashyap
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

S.

No
1
2
3
4
5
6
7
8
9
10
11

12
13

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Questions
Webpack is not recommended for large web applications
Which of the following code can help us make the compilation automatically
Which of these softwares is necessary to install webpack
Executing the following command will automatically create a file named: webpack_practice >> npm init
The distinct feature of webpack is
Which of the following tells webpack how to treat a Bundled Code
Which of the following loader can be used to process style sheets
file:///home/ram/work/webpack_practice/index.html means that the file gets loaded from
Which helps in using babel with webpack babel
_____________ simplies the creation of HTML files to serve webpack bundles
Which of the following features, considered the backbone of Webpack

Which of the following code snippet instantiates the plugin FrescoPlugin require
Plugins are instantiable objects

Which of the following, can be used to define an entry point?


Webpack is a/an ______________ tool
Webpack understands only __________________
Webpack is written in
can be transformed to JavaScript with the help of loaders
Custom plugins can be installed via ___________
Webpack can be optimized with the following command
A plugin can be instantiated with the keyword
Which of the following makes Webpack s
Webpack starts building the dependency graph from
Webpack supports third party libraries
which of the following is a Node.js express server?
The latest version of Webpack is
Which of the following webpack feature enables Code on Demand
Which of the following code can be used to install the style loader?
In Webpack, we can use
Which of the following makes Webpack extensible
CoffeeScript can be transformed to JavaScript with the help of
Answers
0
build: "webpack ./src/app.js ./dist/bundle.js"
Node.js
package.json
Code-Splitting
Output
CSS-loader
local machine
babel-loader
HtmlWebpackPlugin
Plugins

var FrescoPlugin = require('Welcome');


var webpackConfig = {
// ... config settings here ...
plugins: [
new FrescoPlugin({options: true})
]
};
1
module.exports = {
entry: './path/to/my/entry/file.js'
};
open source
Java script
Javascript
CoffeeScript
npm
webpack --optimize-minimize
new
Extensible loader
Begin Statement
1
webpack-dev-server
2.X
Code- Splitting
npm install style-loader --save-dev
Custom plugins
Loaders
Loaders

You might also like