mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-15 10:05:40 +02:00
unicorn/prefer-node-protocol
This commit is contained in:
@@ -210,9 +210,6 @@
|
|||||||
"extends": "plugin:markdown/recommended",
|
"extends": "plugin:markdown/recommended",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"sourceType": "module"
|
"sourceType": "module"
|
||||||
},
|
|
||||||
"rules": {
|
|
||||||
"unicorn/prefer-node-protocol": "off"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@@ -79,7 +79,7 @@ With dependencies installed and our project folder ready for us to start coding,
|
|||||||
```js
|
```js
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
const path = require('path')
|
const path = require('node:path')
|
||||||
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
@@ -154,7 +154,7 @@ Importing Bootstrap into Webpack requires the loaders we installed in the first
|
|||||||
```js
|
```js
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
const path = require('path')
|
const path = require('node:path')
|
||||||
const autoprefixer = require('autoprefixer')
|
const autoprefixer = require('autoprefixer')
|
||||||
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user