Records Output Path

Records Output Path is a string that specifies where the records should be written. The following code example shows how you might use this option in combination with recordsInputPath when renaming a records file. We will use webpack.config.js to do this:

module.exports = {
  recordsInputPath: path.join(__dirname, 'records.json'),
  recordsOutputPath: path.join(__dirname, 'outRecords.json')
};

The preceding code will set the location where records are written. If it's an input record, it would be written to __dirname/records.json. If it's an output record, it will be written to __dirname/newRecords.json

The next option we need to discuss is the Name option.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.124.8